diff options
Diffstat (limited to 'Smol Watch Project/My Project/watch-library/watch.c')
-rw-r--r-- | Smol Watch Project/My Project/watch-library/watch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Smol Watch Project/My Project/watch-library/watch.c b/Smol Watch Project/My Project/watch-library/watch.c index 121f15c7..b40e57ae 100644 --- a/Smol Watch Project/My Project/watch-library/watch.c +++ b/Smol Watch Project/My Project/watch-library/watch.c @@ -205,7 +205,8 @@ void watch_disable_led(Watch *watch) { gpio_set_pin_function(GREEN, GPIO_PIN_FUNCTION_OFF);
pwm_disable(&PWM_0);
-
+ hri_mclk_clear_APBCMASK_TC3_bit(MCLK); +
watch->led_enabled = false;
}
|