chg: cleanup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user