mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
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:
parent
dc7473135c
commit
1f0a1edfbe
3 changed files with 29 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue