mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-12 03:04:27 +05:00
fix: outdoor sensor GPIO validation fixed
This commit is contained in:
@@ -65,7 +65,7 @@ protected:
|
|||||||
bool indoorTempUpdated = false;
|
bool indoorTempUpdated = false;
|
||||||
bool outdoorTempUpdated = false;
|
bool outdoorTempUpdated = false;
|
||||||
|
|
||||||
if (settings.sensors.outdoor.type == SensorType::DS18B20 && GPIO_IS_VALID(settings.sensors.indoor.gpio)) {
|
if (settings.sensors.outdoor.type == SensorType::DS18B20 && GPIO_IS_VALID(settings.sensors.outdoor.gpio)) {
|
||||||
outdoorTemperatureSensor();
|
outdoorTemperatureSensor();
|
||||||
outdoorTempUpdated = true;
|
outdoorTempUpdated = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user