aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/i2c.c b/main/i2c.c
index b90e3b2..6e76141 100644
--- a/main/i2c.c
+++ b/main/i2c.c
@@ -68,7 +68,7 @@ static void update_state() {
// find first module that is idle
pb_global_state_t module_state = modules[i].state;
if (module_state != PB_GS_IDLE) continue;
-
+
if (modules[i].sender > first_addr) continue;
first_addr = modules[i].sender;