summaryrefslogtreecommitdiffstats
path: root/device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'device.cpp')
-rw-r--r--device.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/device.cpp b/device.cpp
index 95608d6..0186d5b 100644
--- a/device.cpp
+++ b/device.cpp
@@ -68,6 +68,7 @@ static const char* ADVANCED_MENU_NAMES[] = {
#endif
#ifndef RELEASE_BUILD
"Mount /system",
+ "Wipe system partition",
#endif
"View recovery logs",
"Power off",
@@ -82,6 +83,7 @@ static const menu_entry ADVANCED_MENU_ENTRIES[] = {
#endif
#ifndef RELEASE_BUILD
{ ACTION_INVOKE, { .action = Device::MOUNT_SYSTEM } },
+ { ACTION_INVOKE, { .action = Device::WIPE_SYSTEM } },
#endif
{ ACTION_INVOKE, { .action = Device::VIEW_RECOVERY_LOGS } },
{ ACTION_INVOKE, { .action = Device::SHUTDOWN } },