Skip to content

Commit

Permalink
fix(example): fix warning by double percentage symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
P-R-O-C-H-Y committed Nov 22, 2024
1 parent 73363e4 commit e35b569
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void meausureAndSleep() {
zbTempSensor.reportTemperature();
zbTempSensor.reportHumidity();

Serial.printf("Reported temperature: %.2f°C, Humidity: %.2f%\n", temperature, humidity);
Serial.printf("Reported temperature: %.2f°C, Humidity: %.2f%%\n", temperature, humidity);

// Put device to deep sleep
Serial.println("Going to sleep now");
Expand Down

0 comments on commit e35b569

Please sign in to comment.