Skip to content

Commit

Permalink
Update BresserWeatherSensorCallback.ino
Browse files Browse the repository at this point in the history
Added typecast for RP2040
  • Loading branch information
matthias-bs committed Sep 27, 2023
1 parent d773815 commit 40f3028
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void loop()
for (int i=0; i<NUM_SENSORS; i++) {
if (weatherSensor.sensor[i].valid) {
Serial.printf("Id: [%8X] Typ: [%X] Battery: [%s] ",
weatherSensor.sensor[i].sensor_id,
(unsigned int)weatherSensor.sensor[i].sensor_id,
weatherSensor.sensor[i].s_type,
weatherSensor.sensor[i].battery_ok ? "OK " : "Low");
#ifdef BRESSER_6_IN_1
Expand Down

0 comments on commit 40f3028

Please sign in to comment.