aboutsummaryrefslogtreecommitdiff
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
parent20437d0d0531c0a935576efdc93d9a30bf6da1af (diff)
`make format`HEADmaster
-rw-r--r--main/i2c.c2
-rw-r--r--puzzle/neo/main.cpp1
2 files changed, 1 insertions, 2 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;
diff --git a/puzzle/neo/main.cpp b/puzzle/neo/main.cpp
index 4709c53..dd6a1da 100644
--- a/puzzle/neo/main.cpp
+++ b/puzzle/neo/main.cpp
@@ -219,4 +219,3 @@ void loop() {
break;
}
}
-