Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Jun 3, 2024
1 parent 7bda490 commit 444e071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WeatherSensorDecoders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ DecodeStatus WeatherSensor::decodeBresser5In1Payload(const uint8_t *msg, uint8_t
// significant bits is unknown.
// The Bresser Lightning Sensor has type 0x9, too -
// we change the type to SENSOR_TYPE_WEATHER0 here to simplify processing by the application.
if ((sensor_type >= 0x39) && (sensor_type <= 0x3b))
if ((type_tmp >= 0x39) && (type_tmp <= 0x3b))
{
// rescale the rain sensor readings
sensor[slot].w.rain_mm *= 2.5;
Expand Down

0 comments on commit 444e071

Please sign in to comment.