mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-20 15:26:13 +08:00
chg: cleanup
This commit is contained in:
parent
8eb90d0cb9
commit
7afc4b7b3b
|
@ -187,8 +187,6 @@ int uart_receive(const serial_port sp, uint8_t *pbtRx, uint32_t pszMaxRxLen, uin
|
|||
return PM3_EIO;
|
||||
}
|
||||
|
||||
// printf("[!]res %d | rx errorcode == %d \n", res, errorcode);
|
||||
// disconnected device
|
||||
return PM3_ENOTTY;
|
||||
}
|
||||
|
||||
|
@ -202,9 +200,6 @@ int uart_send(const serial_port sp, const uint8_t *p_tx, const uint32_t len) {
|
|||
if (res == 0 && errorcode == 2) {
|
||||
return PM3_EIO;
|
||||
}
|
||||
|
||||
// printf("[!!]res %d | send errorcode == %d \n", res, errorcode);
|
||||
// disconnected device
|
||||
return PM3_ENOTTY;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue