Files
firmware/test/test_command_sensor
Claude 2b85dbdbeb portduino Sensors: address review findings
- 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
2026-11-02 20:54:37 +00:00
..