From a0c96eea361e72a6df0293e8e5a323bd82f2f4b6 Mon Sep 17 00:00:00 2001 From: ThomasintAnker Date: Thu, 27 Jun 2024 10:30:51 +0200 Subject: Fixed puzzelbus setting multiple modules on playing --- main/i2c.c | 1 + 1 file changed, 1 insertion(+) 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; } } -- cgit v1.2.3