Skip to content

Commit

Permalink
Added setting of valif/complete flags in decodeBresser7In1Payload()
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Jun 9, 2023
1 parent ee550dc commit c6341b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/BresserWeatherSensorMQTTCustom/src/WeatherSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,8 @@ DecodeStatus WeatherSensor::decodeBresser7In1Payload(uint8_t *msg, uint8_t msgSi
sensor[slot].light_lux = light_lux;
sensor[slot].uv = uv_index;
sensor[slot].battery_ok = !battery_low;
sensor[slot].valid = true;
sensor[slot].complete = true;
sensor[slot].rssi = rssi;

/* clang-format off */
Expand Down

0 comments on commit c6341b5

Please sign in to comment.