refactor LED dwell time to function call
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user