diff options
author | ThomasintAnker <thomasintanker1@gmail.com> | 2024-06-25 14:44:10 +0200 |
---|---|---|
committer | ThomasintAnker <thomasintanker1@gmail.com> | 2024-06-25 14:44:10 +0200 |
commit | eb5ddfe4fe7c91488b7a3da7aa5d57236c43c06c (patch) | |
tree | 6b1cca777fba749c103c1fe231720b69698117bf | |
parent | 3a3679908019a63772fc414b0f997497c481625c (diff) |
pain.wip/mc
-rw-r--r-- | main/i2c.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -149,9 +149,9 @@ void pb_route_cmd_prop_set(pb_msg_t * msg) { pb_cmd_prop_t * cmd = msg->cmd; if(cmd->propid != PB_MOD_MAIN_PROP_MODS) return; - bus_scan(); - - puzzle_module_t modules[CFG_PB_MOD_MAX] = {}; size_t modules_size = 0; + puzzle_module_t modules[CFG_PB_MOD_MAX] = {}; + + bus_scan(); } |