diff options
Diffstat (limited to 'src/linux/internal.h')
-rw-r--r-- | src/linux/internal.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/linux/internal.h b/src/linux/internal.h new file mode 100644 index 00000000..1ade2233 --- /dev/null +++ b/src/linux/internal.h @@ -0,0 +1,17 @@ +#ifndef __LINUX_INTERNAL_H +#define __LINUX_INTERNAL_H +// Local definitions for micro-controllers running on linux + +#include <time.h> // struct timespec + +// console.c +int console_setup(char *name); +void console_sleep(struct timespec ts); + +// timer.c +int timer_check_periodic(struct timespec *ts); + +// watchdog.c +int watchdog_setup(void); + +#endif // internal.h |