CHG: restored the wait in flash-mode. Its waiting for the device to "reboot"..
CHG: usb_Cdc, : usb specs say 100ms delay. Previous delay was much longer...
This commit is contained in:
@@ -11,6 +11,7 @@ ARMSRC =
|
||||
THUMBSRC = cmd.c \
|
||||
usb_cdc.c \
|
||||
bootrom.c
|
||||
|
||||
ASMSRC = ram-reset.s flash-reset.s
|
||||
|
||||
## There is a strange bug with the linker: Sometimes it will not emit the glue to call
|
||||
|
||||
@@ -193,7 +193,8 @@ static void flash_mode(int externally_entered) {
|
||||
byte_t rx[sizeof(UsbCommand)];
|
||||
|
||||
usb_enable();
|
||||
//for (volatile size_t i=0; i<0x100000; i++) {};
|
||||
|
||||
for (volatile size_t i=0; i<0x100000; i++) {};
|
||||
|
||||
for(;;) {
|
||||
WDT_HIT();
|
||||
|
||||
Reference in New Issue
Block a user