aboutsummaryrefslogtreecommitdiffstats
path: root/device.cpp
diff options
context:
space:
mode:
authorAndreas Blaesius <skate4life@gmx.de>2015-04-26 02:28:14 +0200
committerTom Marshall <tdm@cyngn.com>2015-11-25 15:35:47 -0800
commitf49b3e382af61e47f7652be03b7f989e72d03e3c (patch)
tree1b4fc4b36fd152c3035a2d13dd5e4d2d9d669146 /device.cpp
parent22d36ae1a1fc4c540f308ead224509613425f511 (diff)
downloadbootable_recovery-f49b3e382af61e47f7652be03b7f989e72d03e3c.zip
bootable_recovery-f49b3e382af61e47f7652be03b7f989e72d03e3c.tar.gz
bootable_recovery-f49b3e382af61e47f7652be03b7f989e72d03e3c.tar.bz2
recovery: Allow devices to reboot to download mode
Change-Id: Ib6ccf98ed68efacbb3b8c8238945da60b23a20d7
Diffstat (limited to 'device.cpp')
-rw-r--r--device.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/device.cpp b/device.cpp
index c8b7954..0ac6b3f 100644
--- a/device.cpp
+++ b/device.cpp
@@ -18,7 +18,11 @@
static const char* MENU_ITEMS[] = {
"Reboot system now",
+#ifdef DOWNLOAD_MODE
+ "Reboot to download mode",
+#else
"Reboot to bootloader",
+#endif
"Apply update",
"Wipe data/factory reset",
"Wipe cache partition",