mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-04 20:13:38 +08:00
Fix communication timing (delay) after PM3 detection.
This commit is contained in:
parent
faedd3e19e
commit
cc5df3447c
2 changed files with 2 additions and 1 deletions
|
@ -452,7 +452,7 @@ static int enter_bootloader(char *serial_port_name, bool wait_appear) {
|
|||
SendCommandBL(CMD_HARDWARE_RESET, 0, 0, 0, NULL, 0);
|
||||
PrintAndLogEx(SUCCESS, "Press and hold down button NOW if your bootloader requires it.");
|
||||
}
|
||||
msleep(100);
|
||||
msleep(200);
|
||||
CloseProxmark(g_session.current_device);
|
||||
// Let time to OS to make the port disappear
|
||||
msleep(1000);
|
||||
|
|
|
@ -671,6 +671,7 @@ static int flash_pm3(char *serial_port_name, uint8_t num_files, const char *file
|
|||
|
||||
if (OpenProxmark(&g_session.current_device, serial_port_name, true, 60, true, FLASHMODE_SPEED)) {
|
||||
PrintAndLogEx(NORMAL, _GREEN_(" found"));
|
||||
msleep(200);
|
||||
} else {
|
||||
PrintAndLogEx(ERR, "Could not find Proxmark3 on " _RED_("%s") ".\n", serial_port_name);
|
||||
ret = PM3_ETIMEOUT;
|
||||
|
|
Loading…
Reference in a new issue