diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-24 15:00:22 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-24 15:00:22 +0200 |
commit | a7271f52ef235c9035849c310bf341fe84f2815a (patch) | |
tree | e779fedaff6e7c9084f7ec1eead98b54e900bcd1 /lib | |
parent | 1d6d54478a368a011415e43f7667a263209bb2b0 (diff) | |
parent | a0c664908b9112306c5858ccb106d1a0e5555df7 (diff) |
Merge branch 'wip/mc' of github.com:lonkaars/puzzelbox
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pbdrv/pb-types.h | 6 |
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 |