mirror of
https://github.com/meshtastic/firmware.git
synced 2026-11-07 06:44:33 -05:00
- Read the command sensor after the INA219/260/3221, MAX17048 and RAK readers in getEnvironmentTelemetry(). Those ran after the sensors list and overwrote a configured voltage or current command. - Drop a reading whose scaled value is not finite (value * Scale can overflow), so inf is never sent and never reaches an integer cast. - A non-finite Scale (.inf, .nan) falls back to 1; --check warns. - An empty `Sensors:` is skipped like any other empty section. A normal boot rejected it as "not a list" while --check called it clean. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011C7D9dE4aUYBrGdpPyHs25