Skip to content

Commit

Permalink
Update WeatherSensor.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Jul 10, 2023
1 parent 8d245fb commit e48c2f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/WeatherSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ DecodeStatus WeatherSensor::decodeBresser7In1Payload(uint8_t *msg, uint8_t msgSi
for (size_t i = 0 ; i < msgSize; i++) {
sprintf(&buf[strlen(buf)], "%02d ", i);
}
log_v("Byte #: %s", buf);
log_v(" Byte #: %s", buf);

*buf = '\0';
for (size_t i = 0 ; i < msgSize; i++) {
Expand Down Expand Up @@ -1026,7 +1026,7 @@ DecodeStatus WeatherSensor::decodeBresserLightningPayload(uint8_t *msg, uint8_t
for (size_t i = 0 ; i < msgSize; i++) {
sprintf(&buf[strlen(buf)], "%02d ", i);
}
log_v("Byte #: %s", buf);
log_v(" Byte #: %s", buf);

*buf = '\0';
for (size_t i = 0 ; i < msgSize; i++) {
Expand Down

0 comments on commit e48c2f7

Please sign in to comment.