Permalink
Browse files

Move download mode to bottom of switch statement.

  • Loading branch information...
atinm
atinm committed Jan 8, 2011
1 parent d7891a9 commit 2421a2d1adbec019c5bea5948043da092a5dd322
Showing with 0 additions and 10 deletions.
  1. +0 −10 extendedcommands.c
View
@@ -761,17 +761,7 @@ void show_advanced_menu()
case 0:
__reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_RESTART2, "recovery");
break;
-#ifdef BOARD_HAS_DOWNLOAD_MODE
case 1:
- __reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_RESTART2, "download");
- break;
-#endif
-
-#ifdef BOARD_HAS_DOWNLOAD_MODE
- case 2:
-#else
- case 1:
-#endif
{
if (0 != ensure_path_mounted("/data"))
break;

0 comments on commit 2421a2d

Please sign in to comment.