mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-01 13:14:30 +08:00
fix: forgot some parentheses
This commit is contained in:
parent
ee0409d8d0
commit
2954e1d040
1 changed files with 2 additions and 2 deletions
|
@ -227,9 +227,9 @@ bool uart_send(const serial_port sp, const byte_t* pbtTx, const size_t szTxLen)
|
|||
while (szPos < szTxLen) {
|
||||
// Reset file descriptor
|
||||
FD_ZERO(&rfds);
|
||||
FD_SET((spu->fd, &rfds);
|
||||
FD_SET(spu->fd, &rfds);
|
||||
tv = timeout;
|
||||
res = select((spu->fd+1, NULL, &rfds, NULL, &tv);
|
||||
res = select(spu->fd + 1, NULL, &rfds, NULL, &tv);
|
||||
|
||||
// Write error
|
||||
if (res < 0) {
|
||||
|
|
Loading…
Reference in a new issue