chg: cleanup

This commit is contained in:
iceman1001 2019-06-09 18:08:46 +02:00
parent 8eb90d0cb9
commit 7afc4b7b3b

View file

@ -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;
}