Skip to content

Commit

Permalink
easier code read
Browse files Browse the repository at this point in the history
  • Loading branch information
mozgy committed Aug 20, 2024
1 parent c5f95f7 commit 69095d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bme280Functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ void bmeSerialPrint( void ) {
if( bme280Found ) {
#ifdef HAVE_BME280
// \xB0 is °
log_i( "Temperature = %0.2f°C, Pressure = %4.2f hPA, Humidity = %.2f%%, Altitude = %.2f", bme.readTemperature(), (bme.readPressure() / 100.0F), bme.readHumidity(), bme.readAltitude( SEALEVELPRESSURE_HPA ) );
log_i( "Temperature = %0.2f°C, Pressure = %4.2f hPA, Humidity = %.2f%%, Altitude = %.2f", \
bme.readTemperature(), (bme.readPressure() / 100.0F), bme.readHumidity(), bme.readAltitude( SEALEVELPRESSURE_HPA ) );
#endif
log_i( "%s", elapsedTimeString );
}
Expand Down

0 comments on commit 69095d2

Please sign in to comment.