summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'watch-library/watch/watch.c')
-rw-r--r--watch-library/watch/watch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/watch-library/watch/watch.c b/watch-library/watch/watch.c
index 844ed3d9..791fd974 100644
--- a/watch-library/watch/watch.c
+++ b/watch-library/watch/watch.c
@@ -38,3 +38,7 @@ void SYSTEM_Handler(void) {
bool watch_is_battery_low(void) {
return battery_is_low;
}
+
+bool watch_is_buzzer_or_led_enabled(void){
+ return hri_mclk_get_APBCMASK_TCC0_bit(MCLK);
+}