Refactor flow meter logic: replace global mutex with per-instance flow_unit and use critical-section for thread safety.

This commit is contained in:
2026-05-05 16:27:21 +02:00
parent f8f76674ce
commit d903c2bf52
3 changed files with 31 additions and 49 deletions

View File

@@ -101,6 +101,7 @@ chrono-tz = { version = "0.10.4", default-features = false, features = ["filter-
heapless = { version = "0.7.17", features = ["serde"] } # stay in sync with mcutie version
static_cell = "2.1.1"
portable-atomic = "1.11.1"
critical-section = "1"
crc = "3.3.0"
bytemuck = { version = "1.24.0", features = ["derive", "min_const_generics", "pod_saturating", "extern_crate_alloc"] }
deranged = "0.5.5"