FIX: the changes to uart.c timings seems to have fixed my problem with the pm3 device getting unresponsive.
CHG: "script run hard" now iterates all sectors on the tag and output the table style like "hf mf chkkey" do.
This commit is contained in:
@@ -385,10 +385,10 @@ serial_port uart_open(const char* pcPortName) {
|
||||
return INVALID_SERIAL_PORT;
|
||||
}
|
||||
|
||||
sp->ct.ReadIntervalTimeout = 0;
|
||||
sp->ct.ReadTotalTimeoutMultiplier = 0;
|
||||
sp->ct.ReadIntervalTimeout = 1;
|
||||
sp->ct.ReadTotalTimeoutMultiplier = 1;
|
||||
sp->ct.ReadTotalTimeoutConstant = 30;
|
||||
sp->ct.WriteTotalTimeoutMultiplier = 0;
|
||||
sp->ct.WriteTotalTimeoutMultiplier = 1;
|
||||
sp->ct.WriteTotalTimeoutConstant = 30;
|
||||
|
||||
if(!SetCommTimeouts(sp->hPort,&sp->ct)) {
|
||||
|
||||
Reference in New Issue
Block a user