aboutsummaryrefslogtreecommitdiff
path: root/shared/pb/mod
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-05-30 18:58:13 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-05-30 18:58:13 +0200
commit18d06c79b9f6a625eb218a15c8216556fb99dc02 (patch)
treed70e32865ec6ad92eae90d40f2475ec6469fb1a0 /shared/pb/mod
parent47bbee8b8a5d7eae452b76f58f30d6a70d265ebe (diff)
WIP parsing the connected puzzle module list
Diffstat (limited to 'shared/pb/mod')
-rw-r--r--shared/pb/mod/main.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/shared/pb/mod/main.h b/shared/pb/mod/main.h
new file mode 100644
index 0000000..56ccd3d
--- /dev/null
+++ b/shared/pb/mod/main.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include "../types.h"
+
+typedef struct __packed {
+ const uint8_t addr;
+ const enum pb_state state;
+} pb_mod_main_mod_t;
+
+enum __packed {
+ PB_MOD_MAIN_ADDR_MODS = 0x01, //!< connected puzzle modules
+};
+