usb-device: Fix usb_switch_to_cold
This commit is contained in:
1 parent
29c2b60670
commit
067c84ea2c
1 file changed
+3
-1
+3
-1
@@ -307,7 +307,9 @@ 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");
|
||||
printf_and_wait("Unplug USB cable, turn device off, press ENTER and plug USB cable again");
|
||||
|
||||
if ( dev->flash_device->protocol != FLASH_COLD )
|
||||
printf_and_wait("Unplug USB cable, turn device off, press ENTER and plug USB cable again");
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user