summaryrefslogtreecommitdiff
path: root/supervisor/shared/safe_mode.h
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-12-12 14:35:24 -0500
committerDan Halbert <halbert@halwitz.org>2019-12-12 14:41:49 -0500
commit7889b999ccb32b78ddabc2b2738f0a9d182b9411 (patch)
tree76922a3b20c8f83deb393f3ebca647a05025af32 /supervisor/shared/safe_mode.h
parent887f64eed8d7c06182aa100a8131cc9b8b7dbd47 (diff)
Fix flash write error handling; clean up safe mode message printing
Diffstat (limited to 'supervisor/shared/safe_mode.h')
-rw-r--r--supervisor/shared/safe_mode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/supervisor/shared/safe_mode.h b/supervisor/shared/safe_mode.h
index 8c5dcd9c5..e05fca0e4 100644
--- a/supervisor/shared/safe_mode.h
+++ b/supervisor/shared/safe_mode.h
@@ -38,7 +38,8 @@ typedef enum {
MICROPY_FATAL_ERROR,
GC_ALLOC_OUTSIDE_VM,
PROGRAMMATIC_SAFE_MODE,
- NORDIC_SOFT_DEVICE_ASSERT
+ NORDIC_SOFT_DEVICE_ASSERT,
+ FLASH_WRITE_FAIL,
} safe_mode_t;
safe_mode_t wait_for_safe_mode_reset(void);