diff options
Diffstat (limited to 'watch-library/watch/watch_private.h')
-rw-r--r-- | watch-library/watch/watch_private.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/watch-library/watch/watch_private.h b/watch-library/watch/watch_private.h index 8045e438..7bb91d1f 100644 --- a/watch-library/watch/watch_private.h +++ b/watch-library/watch/watch_private.h @@ -27,17 +27,24 @@ #include "watch.h" /// Called by main.c while setting up the app. You should not call this from your app. -void _watch_init(); +void _watch_init(void); /// Initializes the real-time clock peripheral. -void _watch_rtc_init(); +void _watch_rtc_init(void); /// Called by buzzer and LED setup functions. You should not call this from your app. -void _watch_enable_tcc(); +void _watch_enable_tcc(void); /// Called by buzzer and LED teardown functions. You should not call this from your app. -void _watch_disable_tcc(); +void _watch_disable_tcc(void); /// Called by main.c if plugged in to USB. You should not call this from your app. -void _watch_enable_usb(); +void _watch_enable_usb(void); + +// this function ends up getting called by printf to log stuff to the USB console. +int _write(int file, char *ptr, int len); + +// this method could be overridden to read stuff from the USB console? but no need rn. +int _read(void); + #endif |