aboutsummaryrefslogtreecommitdiff
path: root/client/serial_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/serial_win32.c')
-rw-r--r--client/serial_win32.c19
1 files changed, 15 insertions, 4 deletions
diff --git a/client/serial_win32.c b/client/serial_win32.c
index 9406a34..edc9db1 100644
--- a/client/serial_win32.c
+++ b/client/serial_win32.c
@@ -2,9 +2,20 @@
#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();
+int w2_serial_read() {
+ return 0x00;
+}
+
+bool w2_serial_write(char *data, uint8_t length) {
+ return true;
+}
+
+bool w2_serial_open(const char *port_name) {
+ return true;
+}
+
+void w2_serial_close() {
+ return;
+}
#endif