diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-23 15:41:01 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-23 15:41:01 +0200 |
commit | 07ce1b3bb2d393d1ab69d471a76978036f714fce (patch) | |
tree | 50c818ec18dc1b3434b380588bc1d900dc00c2b2 /main/i2c.c | |
parent | 3fd5c9e58f2d4ce3cdea41a3f37235ef0de57d39 (diff) | |
parent | 807e1499a683209f7ca310e65a6a268772e0409d (diff) |
Merge branch 'wip/docs' into wip/rp2040-good-ending
Diffstat (limited to 'main/i2c.c')
-rw-r--r-- | main/i2c.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -48,6 +48,17 @@ void bus_task() { } } +/** + * \ingroup main_pb_override + * \anchor main_route_cmd_magic_res + * + * This function registers the I2C address of the puzzle module that replied to + * the \c MAGIC \c REQ command into a list of "known puzzle modules", which are + * then periodically updated during gameplay. + * + * \note Up to \ref CFG_PB_MOD_MAX puzzle modules can be registered + * simultaniously. + */ void pb_route_cmd_magic_res(pb_msg_t * msg) { if (modules_size == CFG_PB_MOD_MAX) return; modules[modules_size++] = msg->sender; |