From 6a195a82411971140dd2f455f8d2340df8ad5d2a Mon Sep 17 00:00:00 2001 From: Russell Date: Fri, 6 Jan 2012 16:22:25 +0000 Subject: [PATCH] Disable flash_cmd_reboot as reboot done in endpoint0 --- module_dfu/src/flash_interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module_dfu/src/flash_interface.c b/module_dfu/src/flash_interface.c index 41447829..bdaafebe 100755 --- a/module_dfu/src/flash_interface.c +++ b/module_dfu/src/flash_interface.c @@ -211,8 +211,8 @@ int flash_cmd_erase_all(void) { } int flash_cmd_reboot(void) { - unsigned int pllVal; - read_sswitch_reg(0, 6, &pllVal); - write_sswitch_reg(0, 6, pllVal); + //unsigned int pllVal; + //read_sswitch_reg(0, 6, &pllVal); + //write_sswitch_reg(0, 6, pllVal); return 0; }