usb-device: Fix usb_switch_to_cold

This commit is contained in:
Pali Rohár committed 2012-11-20 21:52:03 +01:00
1 parent 29c2b60670
commit 067c84ea2c
1 file changed
+2
+2
View File
@@ -307,6 +307,8 @@ void usb_switch_to_nolo(struct usb_device_info * dev) {
void usb_switch_to_cold(struct usb_device_info * dev) {
printf("\nSwitching to Cold Flash mode...\n");
if ( dev->flash_device->protocol != FLASH_COLD )
printf_and_wait("Unplug USB cable, turn device off, press ENTER and plug USB cable again");
}