summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_private.h
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-09-28 13:42:08 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-09-28 14:42:56 -0400
commit39a17c99b988086396388a942889c78b84ad6891 (patch)
treec469c7a19fb4f28ef1ec837cd5c9e46334e9d1ce /watch-library/watch/watch_private.h
parent152ba8aec6c4ab19a56822ddd7d77e999cb715ae (diff)
downloadSensor-Watch-39a17c99b988086396388a942889c78b84ad6891.tar.gz
Sensor-Watch-39a17c99b988086396388a942889c78b84ad6891.tar.bz2
Sensor-Watch-39a17c99b988086396388a942889c78b84ad6891.zip
overdue refactor: compile all watch modules separately
Diffstat (limited to 'watch-library/watch/watch_private.h')
-rw-r--r--watch-library/watch/watch_private.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/watch-library/watch/watch_private.h b/watch-library/watch/watch_private.h
index abee085a..8045e438 100644
--- a/watch-library/watch/watch_private.h
+++ b/watch-library/watch/watch_private.h
@@ -21,10 +21,17 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
+#ifndef _WATCH_PRIVATE_H_INCLUDED
+#define _WATCH_PRIVATE_H_INCLUDED
+
+#include "watch.h"
/// Called by main.c while setting up the app. You should not call this from your app.
void _watch_init();
+/// Initializes the real-time clock peripheral.
+void _watch_rtc_init();
+
/// Called by buzzer and LED setup functions. You should not call this from your app.
void _watch_enable_tcc();
@@ -33,3 +40,4 @@ void _watch_disable_tcc();
/// Called by main.c if plugged in to USB. You should not call this from your app.
void _watch_enable_usb();
+#endif