Skip to content

Commit

Permalink
Added startup in decodeBresser6In1Payload()
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Jul 8, 2023
1 parent f66ff6e commit 3db6ddc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/WeatherSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -702,12 +702,10 @@ DecodeStatus WeatherSensor::decodeBresser6In1Payload(uint8_t *msg, uint8_t msgSi
if (status != DECODE_OK)
return status;

// unused...
//int startup = (msg[6] >> 3) & 1; // s.a. #1214

sensor[slot].sensor_id = id_tmp;
sensor[slot].s_type = type_tmp;
sensor[slot].chan = chan_tmp;
sensor[slot].startup = (msg[6] >> 3) & 1; // s.a. #1214

f_3in1 = is_decode3in1(id_tmp);

Expand Down

0 comments on commit 3db6ddc

Please sign in to comment.