meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
3.62k stars 906 forks source link

copy the has_relative_humidity value to full telem packet from AHTX0 packet #5277

Closed tavdog closed 2 weeks ago

tavdog commented 2 weeks ago

This is for when AHTX0+BMP280 module detected: using temp from BMP280 and humy from AHTX0. Humidity is pulled from AHTX0 and value is copied into the full telemetry packet but the has_relative_humidity flag was not copied over and so the humi value is skipped in protobuf encoding.

I copied the value from the AHTX0 packet instead of setting to true explicity. Don't think that matters though.

mentioned here https://github.com/meshtastic/firmware/issues/5139