aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-27 10:53:19 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-27 10:53:19 +0200
commitcff5f6dd6655470abd2235673b8ac55e6791a6fe (patch)
treeb25d1056195381d8f3228a2033426c2ef500b264 /main
parent20437d0d0531c0a935576efdc93d9a30bf6da1af (diff)
`make format`HEADmaster
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;