summaryrefslogtreecommitdiff
path: root/client/serial_win32.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-29 13:15:58 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-29 13:15:58 +0200
commit529f067e65b0146c5afa150103809ba5e09869b7 (patch)
tree80fa7a44ce8f5d43b2cc04dc1d0fd1fb79eb254e /client/serial_win32.c
parentdbd005573295293d35647dc0e9feb2beec48a31c (diff)
client/robot sim connected
Diffstat (limited to 'client/serial_win32.c')
-rw-r--r--client/serial_win32.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/client/serial_win32.c b/client/serial_win32.c
new file mode 100644
index 0000000..9406a34
--- /dev/null
+++ b/client/serial_win32.c
@@ -0,0 +1,10 @@
+#ifdef W2_HOST_WIN32
+
+#include "serial.h"
+
+bool w2_serial_read(uint8_t *target, uint8_t bytes);
+bool w2_serial_write(uint8_t *target, uint8_t bytes);
+void w2_serial_open();
+void w2_serial_close();
+
+#endif