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
|
#endif
|
||||||
|
|
||||||
watch_enable_buzzer();
|
|
||||||
watch_enable_leds();
|
|
||||||
|
|
||||||
movement_request_tick_frequency(1);
|
movement_request_tick_frequency(1);
|
||||||
|
|
||||||
for(uint8_t i = 0; i < MOVEMENT_NUM_FACES; i++) {
|
for(uint8_t i = 0; i < MOVEMENT_NUM_FACES; i++) {
|
||||||
|
|||||||
@@ -317,9 +317,7 @@ void _watch_disable_tcc(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void watch_enable_leds(void) {
|
void watch_enable_leds(void) {
|
||||||
if (!tcc_is_enabled(0)) {
|
watch_enable_buzzer_and_leds();
|
||||||
_watch_enable_tcc();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void watch_disable_leds(void) {
|
void watch_disable_leds(void) {
|
||||||
|
|||||||
Reference in New Issue
Block a user