movement: store settings in BKUP to persist across resets

This commit is contained in:
Joey Castillo
2021-11-25 10:38:17 -05:00
parent 5c3967aea2
commit b94c0ba65f
4 changed files with 9 additions and 5 deletions

View File

@@ -165,4 +165,5 @@ void preferences_face_resign(movement_settings_t *settings, void *context) {
(void) context;
watch_set_led_off();
movement_request_tick_frequency(1);
watch_store_backup_data(settings->reg, 0);
}

View File

@@ -123,4 +123,5 @@ void set_time_face_resign(movement_settings_t *settings, void *context) {
(void) context;
watch_set_led_off();
movement_request_tick_frequency(1);
watch_store_backup_data(settings->reg, 0);
}