From 762af872d2f2c977e51d6e51b8c3ad622485cc05 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Sun, 5 Dec 2021 23:49:26 -0600 Subject: fix missing prototype warnings --- watch-library/watch/watch_private.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'watch-library/watch/watch_private.h') 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 -- cgit v1.2.3