From 85fd782466e07a8eeb8f16e361ce003fd675678e Mon Sep 17 00:00:00 2001 From: ThomasintAnker Date: Sat, 22 Jun 2024 13:11:37 +0200 Subject: WIP fixed types --- lib/pbdrv/pb-types.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3