diff options
author | Thomas Albers Raviola <thomas@thomaslabs.org> | 2023-08-28 23:07:36 +0200 |
---|---|---|
committer | Thomas Albers Raviola <thomas@thomaslabs.org> | 2023-08-28 23:07:36 +0200 |
commit | bde9f87649e19984363ed6033a9f358b76082602 (patch) | |
tree | 31391b383cd74e26084f3a9e73601bcee8dad6e0 /serial.c | |
parent | 9c826f6f1a652edce0c8bb15b0cf94e259296e53 (diff) |
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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: |