mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-19 08:31:19 +00:00
.
This commit is contained in:
@@ -143,3 +143,7 @@ void mqttronix_update_humidity (float humidity) {
|
||||
humidity_value = humidity;
|
||||
snprintf(humidity_str, sizeof(humidity_str), "%.02f", humidity_value);
|
||||
}
|
||||
void mqttronix_update_pressure (float pressure) {
|
||||
pressure_value = pressure;
|
||||
snprintf(pressure_str, sizeof(pressure_str), "%.02f", pressure_str);
|
||||
}
|
Reference in New Issue
Block a user