This commit is contained in:
Philippe Teuwen
2019-05-08 01:35:51 +02:00
parent f49d7e6d39
commit 68e5b3c355
21 changed files with 106 additions and 106 deletions

View File

@@ -323,7 +323,7 @@ int uart_send(const serial_port sp, const uint8_t *pbtTx, const uint32_t len) {
res = write(((serial_port_unix *)sp)->fd, pbtTx + pos, len - pos);
// Stop if the OS has some troubles sending the data
if (res <= 0)
if (res <= 0)
return PM3_EIO;
pos += res;