aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomasintAnker <thomasintanker1@gmail.com>2024-06-22 13:11:37 +0200
committerThomasintAnker <thomasintanker1@gmail.com>2024-06-22 13:11:37 +0200
commit85fd782466e07a8eeb8f16e361ce003fd675678e (patch)
treea6b68e130f33e18d6c0a0609c03133212f51f93c
parent32d1e5eff57e8f75ef571cc6a929357cfac737c2 (diff)
WIP fixed types
-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 4d085f9..861fa85 100644
--- a/lib/pbdrv/pb-types.h
+++ b/lib/pbdrv/pb-types.h
@@ -69,6 +69,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;
+
//! PB_CMD_MAGIC data
typedef struct {
char * magic; //!< magic value