From c1db38ba42607a3b70f5e624365f39f0e782bd24 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 8 Nov 2023 16:59:02 +1100 Subject: [PATCH] Increase the size of the system fsm QueueSet I added the samd to it but forgot to increase the set size. --- src/main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/main.cpp b/src/main/main.cpp index f6aba812..3ae045d1 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -25,7 +25,7 @@ extern "C" void app_main(void) { // weird early init stuff; by being explicit about initialisation order, we're // able to handle GPIO ISR notifcations + system events from the same task, // and a little mess with worth not needing to allocate a whole extra stack. - QueueSetHandle_t set = xQueueCreateSet(2); + QueueSetHandle_t set = xQueueCreateSet(3); auto* event_queue = events::queues::SystemAndAudio(); xQueueAddToSet(event_queue->has_events(), set); xQueueAddToSet(gpios_semphr, set);