summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorThomas Albers Raviola <thomas@thomaslabs.org>2023-08-28 23:07:36 +0200
committerThomas Albers Raviola <thomas@thomaslabs.org>2023-08-28 23:07:36 +0200
commitbde9f87649e19984363ed6033a9f358b76082602 (patch)
tree31391b383cd74e26084f3a9e73601bcee8dad6e0 /serial.c
parent9c826f6f1a652edce0c8bb15b0cf94e259296e53 (diff)
Split cmd_writeHEADmaster
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: