mirror of
https://github.com/ALLFATHER-BV/wadamesh.git
synced 2026-11-23 04:39:32 +00:00
- On HAS_THINKNODE_M9, only snap batteryMvSampled()'s EMA on hardware charger state transitions (GPIO1 5V_TEST / GPIO8 DONE#) rather than >70 mV voltage steps, so a transient IR drop during a +22 dBm LR1110 transmission is smoothed by the EMA instead of snapping downward. - Sample batteryMvSampled() directly in pagerLowBatteryTick() rather than batteryMvSmoothed()'s 20 s held value, since the 3-read (6 s) debounce plus 10 s countdown (16 s total) is shorter than the 20 s hold window and would otherwise repeat a single sagged reading. Signed-off-by: TinkeringDao <203040288+TinkeringDao@users.noreply.github.com>