mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: corruption
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
4824c55fed
commit
eef1e8dbd6
1 changed files with 1 additions and 1 deletions
|
@ -659,7 +659,7 @@ void activity_sessions_prv_init(SettingsFile *file, time_t utc_now) {
|
||||||
// flash got corrupted, as in PBL-37848
|
// flash got corrupted, as in PBL-37848
|
||||||
PBL_HEXDUMP(LOG_LEVEL_INFO, (void *)state->activity_sessions,
|
PBL_HEXDUMP(LOG_LEVEL_INFO, (void *)state->activity_sessions,
|
||||||
sizeof(state->activity_sessions));
|
sizeof(state->activity_sessions));
|
||||||
PBL_LOG(LOG_LEVEL_ERROR, "Invalid activity session detected - could be flash corrruption");
|
PBL_LOG(LOG_LEVEL_ERROR, "Invalid activity session detected - could be flash corruption");
|
||||||
|
|
||||||
// Zero out flash so that we don't get into a reboot loop
|
// Zero out flash so that we don't get into a reboot loop
|
||||||
memset(state->activity_sessions, 0, sizeof(state->activity_sessions));
|
memset(state->activity_sessions, 0, sizeof(state->activity_sessions));
|
||||||
|
|
Loading…
Add table
Reference in a new issue