refactor LED dwell time to function call

This commit is contained in:
joeycastillo
2024-09-29 08:58:28 -04:00
parent 379a795ad3
commit 1c2f1bad5d
4 changed files with 18 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ void demo_face_activate(movement_settings_t *settings, void *context) {
movement_request_tick_frequency(0);
// ensure the watch never enters low energy mode
movement_set_low_energy_timeout(0);
settings->bit.led_duration = 3;
movement_set_backlight_dwell(3);
}
bool demo_face_loop(movement_event_t event, movement_settings_t *settings, void *context) {