aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorThomasintAnker <thomasintanker1@gmail.com>2024-06-27 10:30:51 +0200
committerThomasintAnker <thomasintanker1@gmail.com>2024-06-27 10:30:51 +0200
commita0c96eea361e72a6df0293e8e5a323bd82f2f4b6 (patch)
treedc1142eae76638b301715de734ca4e1912f18412 /main
parent6dd9ee4b46aa33586f5fb2d41acc929dacc0baec (diff)
Fixed puzzelbus setting multiple modules on playing
Diffstat (limited to 'main')
-rw-r--r--main/i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/i2c.c b/main/i2c.c
index b0ac1d3..1d64f30 100644
--- a/main/i2c.c
+++ b/main/i2c.c
@@ -70,6 +70,7 @@ static void update_state() {
pb_buf_t buff = pb_send_state_set(PB_GS_PLAYING);
pb_i2c_send(modules[i].sender, (uint8_t *) buff.data, buff.size);
pb_buf_free(&buff);
+ return;
}
}