aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-24 15:00:22 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-24 15:00:22 +0200
commita7271f52ef235c9035849c310bf341fe84f2815a (patch)
treee779fedaff6e7c9084f7ec1eead98b54e900bcd1 /lib
parent1d6d54478a368a011415e43f7667a263209bb2b0 (diff)
parenta0c664908b9112306c5858ccb106d1a0e5555df7 (diff)
Merge branch 'wip/mc' of github.com:lonkaars/puzzelbox
Diffstat (limited to 'lib')
-rw-r--r--lib/pbdrv/pb-types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/pbdrv/pb-types.h b/lib/pbdrv/pb-types.h
index ef3df54..44b590b 100644
--- a/lib/pbdrv/pb-types.h
+++ b/lib/pbdrv/pb-types.h
@@ -131,6 +131,12 @@ typedef struct {
pb_global_state_t state; //!< global state
} pb_cmd_state_t;
+//! PB_MOD_STATE data
+typedef struct {
+ i2c_addr_t sender; //!< i2c address of sender
+ pb_global_state_t state; //!< global state
+} pb_puzzle_module_t;
+
//! \ref PB_CMD_MAGIC data
typedef struct {
char * magic; //!< magic value