fix missing prototype warnings

This commit is contained in:
Joey Castillo
2021-12-05 23:49:26 -06:00
parent 316e1f292c
commit 762af872d2
46 changed files with 242 additions and 234 deletions

View File

@@ -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