Skip to content

Commit

Permalink
Fix BME280 Discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
DTTerastar committed Jul 8, 2022
1 parent dc3d1d5 commit f1f18bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/BME280Sensor.cpp
Expand Up @@ -86,9 +86,9 @@ namespace BME280
{
if (BME280_I2c.isEmpty()) return true;

return sendSensorDiscovery("BME Temperature", EC_NONE, "temperature", "°C")
&& sendSensorDiscovery("BME Humidity", EC_NONE, "humidity", "%")
&& sendSensorDiscovery("BME Pressure", EC_NONE, "pressure", "hPa");
return sendSensorDiscovery("BME280 Temperature", EC_NONE, "temperature", "°C")
&& sendSensorDiscovery("BME280 Humidity", EC_NONE, "humidity", "%")
&& sendSensorDiscovery("BME280 Pressure", EC_NONE, "pressure", "hPa");
}
}

Expand Down

0 comments on commit f1f18bb

Please sign in to comment.