mirror of
https://github.com/joeycastillo/second-movement.git
synced 2026-02-04 08:55:35 +00:00
Fix a bug that was causing 10x power usage from boot until the first sound played
This commit is contained in:
@ -960,9 +960,6 @@ void app_setup(void) {
|
||||
}
|
||||
#endif
|
||||
|
||||
watch_enable_buzzer();
|
||||
watch_enable_leds();
|
||||
|
||||
movement_request_tick_frequency(1);
|
||||
|
||||
for(uint8_t i = 0; i < MOVEMENT_NUM_FACES; i++) {
|
||||
|
||||
@ -317,9 +317,7 @@ void _watch_disable_tcc(void) {
|
||||
}
|
||||
|
||||
void watch_enable_leds(void) {
|
||||
if (!tcc_is_enabled(0)) {
|
||||
_watch_enable_tcc();
|
||||
}
|
||||
watch_enable_buzzer_and_leds();
|
||||
}
|
||||
|
||||
void watch_disable_leds(void) {
|
||||
|
||||
Reference in New Issue
Block a user