mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 23:08:11 +00:00
For a 140-byte channel msg with a 64-byte trigger, the old loop did ~8960 tolower() calls per inbound message; now it's 140 tolower calls plus one strstr. perf(buzzer): skip nRF52 STOPPED wait when PWM was not running TASKS_STOP on a disabled PWM never fires EVENTS_STOPPED, so the wait always timed out at 2 ms. Gating on _pwm_on removes the wait on the first note of a melody and after pauses, where there's nothing to wait for. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>