diff options
Diffstat (limited to 'client/serial_win32.c')
-rw-r--r-- | client/serial_win32.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/client/serial_win32.c b/client/serial_win32.c new file mode 100644 index 0000000..edc9db1 --- /dev/null +++ b/client/serial_win32.c @@ -0,0 +1,21 @@ +#ifdef W2_HOST_WIN32 + +#include "serial.h" + +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 |