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:
1 parent
dc7473135c
commit
1f0a1edfbe
3 files changed
+29
-4
No files matched your search
@@ -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
|
||||
|
||||
+2
-1
@@ -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