summaryrefslogtreecommitdiff
path: root/src/main/main.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-11-08 16:59:02 +1100
committerjacqueline <me@jacqueline.id.au>2023-11-08 16:59:02 +1100
commitc1db38ba42607a3b70f5e624365f39f0e782bd24 (patch)
treed1fe41d5abc242c9209f0e263a95ee3aa6dd9475 /src/main/main.cpp
parent0e661409b1837beedf62cdf05f18e1453cb880ae (diff)
downloadtangara-fw-c1db38ba42607a3b70f5e624365f39f0e782bd24.tar.gz
Increase the size of the system fsm QueueSet
I added the samd to it but forgot to increase the set size.
Diffstat (limited to 'src/main/main.cpp')
-rw-r--r--src/main/main.cpp2
1 files changed, 1 insertions, 1 deletions
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);