freemyipod r363 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r362‎ | r363 | r364 >
Date:20:48, 20 December 2010
Author:theseven
Status:new
Tags:
Comment:
emBIOS: Shut down hardware properly before resetting through USB
Modified paths:
  • /embios/trunk/usb/usb.c (modified) (history)

Diff [purge]

Index: embios/trunk/usb/usb.c
@@ -685,7 +685,7 @@
686686 power_off();
687687 break;
688688 case DBGACTION_RESET:
689 - shutdown(false);
 689+ shutdown(true);
690690 reset();
691691 break;
692692 case DBGACTION_CWRITE: