summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_private.h
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2021-12-05 23:49:26 -0600
committerJoey Castillo <joeycastillo@utexas.edu>2021-12-10 12:00:26 -0500
commit762af872d2f2c977e51d6e51b8c3ad622485cc05 (patch)
tree0fd44fe4996b04a82c5c0cc46178b5893d3ae1c0 /watch-library/watch/watch_private.h
parent316e1f292c603885f2af3dcd69ce797d64776425 (diff)
downloadSensor-Watch-762af872d2f2c977e51d6e51b8c3ad622485cc05.tar.gz
Sensor-Watch-762af872d2f2c977e51d6e51b8c3ad622485cc05.tar.bz2
Sensor-Watch-762af872d2f2c977e51d6e51b8c3ad622485cc05.zip
fix missing prototype warnings
Diffstat (limited to 'watch-library/watch/watch_private.h')
-rw-r--r--watch-library/watch/watch_private.h17
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