summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'serial.c')
-rw-r--r--serial.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/serial.c b/serial.c
index 82a5abd..2da7766 100644
--- a/serial.c
+++ b/serial.c
@@ -207,8 +207,8 @@ read_buf(int fd, size_t len, void *_buf)
write_ack(fd, NACK);
}
- /* Wait 2 ms between attempts */
- usleep(2000);
+ /* Wait 200 ms between attempts */
+ // usleep(1000000);
}
err = ERR_NACK;
@@ -253,8 +253,8 @@ write_buf(int fd, size_t len, const void *_buf)
if (err != NACK)
goto error;
- /* Wait 2 ms between attempts */
- usleep(2000);
+ /* Wait 200 ms between attempts */
+ // usleep(1000000);
}
error: