From 466876f5c55b513d1390a074f0767c7d040c0d40 Mon Sep 17 00:00:00 2001 From: Matthias Prinke <83612361+matthias-bs@users.noreply.github.com> Date: Wed, 27 Sep 2023 08:11:48 +0200 Subject: [PATCH] Update BresserWeatherSensorOptions.ino Added typecast for RP2040 --- .../BresserWeatherSensorOptions/BresserWeatherSensorOptions.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/BresserWeatherSensorOptions/BresserWeatherSensorOptions.ino b/examples/BresserWeatherSensorOptions/BresserWeatherSensorOptions.ino index aff9e3ff..aa0f8709 100644 --- a/examples/BresserWeatherSensorOptions/BresserWeatherSensorOptions.ino +++ b/examples/BresserWeatherSensorOptions/BresserWeatherSensorOptions.ino @@ -60,7 +60,7 @@ void print_data(void) continue; 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