Increase the size of the system fsm QueueSet

I added the samd to it but forgot to increase the set size.
This commit is contained in:
jacqueline
2023-11-08 16:59:02 +11:00
parent 0e661409b1
commit c1db38ba42
+1 -1
View File
@@ -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);