aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/mod
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pbdrv/mod')
-rw-r--r--lib/pbdrv/mod/main.h13
-rw-r--r--lib/pbdrv/mod/main/pb-mod-main.h13
2 files changed, 13 insertions, 13 deletions
diff --git a/lib/pbdrv/mod/main.h b/lib/pbdrv/mod/main.h
deleted file mode 100644
index ec48acd..0000000
--- a/lib/pbdrv/mod/main.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#pragma once
-
-#include "../pb-types.h"
-
-typedef struct {
- const i2c_addr_t mod_addr;
- const pb_global_state_t mod_state;
-} pb_mod_main_mod_t;
-
-enum {
- PB_MOD_MAIN_ADDR_MODS = 0x01, //!< connected puzzle modules
-};
-
diff --git a/lib/pbdrv/mod/main/pb-mod-main.h b/lib/pbdrv/mod/main/pb-mod-main.h
new file mode 100644
index 0000000..9c69c1d
--- /dev/null
+++ b/lib/pbdrv/mod/main/pb-mod-main.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include "../../pb-types.h"
+
+typedef struct {
+ i2c_addr_t mod_addr;
+ pb_global_state_t mod_state;
+} pb_mod_main_prop_mod_t;
+
+enum {
+ PB_MOD_MAIN_PROP_MODS = 0x00, //!< structured list of connected puzzle modules
+};
+