aboutsummaryrefslogtreecommitdiff
path: root/client/main.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-29 16:27:29 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-29 16:27:29 +0200
commit3b2c2cf6b2af9e76b343a5a8fc8e9245f240690d (patch)
treef257a9a03b8205f55301901d00c5865f8b179607 /client/main.h
parentf466856892d94f5b42bf2369cae0fd73dd468dfa (diff)
serial parsing working on client
Diffstat (limited to 'client/main.h')
-rw-r--r--client/main.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/client/main.h b/client/main.h
new file mode 100644
index 0000000..7bb2173
--- /dev/null
+++ b/client/main.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "../shared/protocol.h"
+
+typedef struct {
+ unsigned int ping;
+ w2_s_cmd_info_tx info;
+ w2_s_cmd_sens_tx io;
+} w2_s_client_state;
+
+extern w2_s_client_state g_w2_state;
+