mirror of
https://github.com/ruvnet/RuView
synced 2026-06-09 10:13:17 +00:00
024d2583f0
process_frame() is CPU-intensive (biquad filters, Welford stats, BPM estimation, multi-person vitals) and can run for several ms. At priority 5, edge_dsp starves IDLE1 (priority 0) on Core 1, triggering the task watchdog every 5 seconds. Fix: vTaskDelay(1) after every frame to let IDLE1 reset the watchdog. At 20 Hz CSI rate this adds ~1 ms per frame — negligible for vitals extraction. Verified on real ESP32-S3 with live WiFi CSI: 0 watchdog triggers in 60 seconds (was triggering every 5s before fix). Co-Authored-By: claude-flow <ruv@ruv.net>