tasks: simulation: increase task pool size to 3, for annotations

This commit is contained in:
2025-12-24 09:15:54 +01:00
parent 81df3e2973
commit 2d9d31092c

View File

@@ -1,11 +1,11 @@
use core::cell::RefCell; use core::cell::RefCell;
use core::fmt::Formatter; use core::fmt::Formatter;
use alloc::{collections::btree_map::Range, rc::Rc}; use alloc::rc::Rc;
use embassy_sync::channel::DynamicSender; use embassy_sync::channel::DynamicSender;
use embassy_time::{Duration, Timer}; use embassy_time::{Duration, Timer};
use embedded_storage::{ReadStorage, Storage}; use embedded_storage::{ReadStorage, Storage};
use esp_bootloader_esp_idf::partitions::{PartitionEntry, PartitionTable}; use esp_bootloader_esp_idf::partitions::PartitionTable;
use esp_storage::FlashStorage; use esp_storage::FlashStorage;
use nalgebra::{Vector2, Vector3}; use nalgebra::{Vector2, Vector3};
use log::*; use log::*;
@@ -305,7 +305,7 @@ impl<E> core::fmt::Display for RangeReadError<E> {
} }
} }
#[embassy_executor::task(pool_size = 2)] #[embassy_executor::task(pool_size = 3)]
pub async fn simulation_task(mut reader: SimDataReader<SharedFlash<FlashStorage>>, events: DynamicSender<'static, Measurement>) { pub async fn simulation_task(mut reader: SimDataReader<SharedFlash<FlashStorage>>, events: DynamicSender<'static, Measurement>) {
warn!("Starting simulation for {:?}", reader.srcid()); warn!("Starting simulation for {:?}", reader.srcid());