aboutsummaryrefslogtreecommitdiff
path: root/client/serial_linux.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-30 14:26:28 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-30 14:26:28 +0200
commit7be2bb9a634de55890906306b978ea8b9fd91f30 (patch)
treeca1a085e6460ea908e11130e534fcdefc89c5128 /client/serial_linux.c
parent92157948b61c866d842519a375000b3f812d2f12 (diff)
final vesion before second assessmentHEADfinal2master
Diffstat (limited to 'client/serial_linux.c')
-rw-r--r--client/serial_linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/serial_linux.c b/client/serial_linux.c
index 2497fac..0501cdf 100644
--- a/client/serial_linux.c
+++ b/client/serial_linux.c
@@ -67,6 +67,7 @@ int w2_serial_read() {
}
bool w2_serial_write(char *data, uint8_t length) {
+ usleep(1e3);
return write(g_w2_serial_handle, data, length) == length;
}