mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-05 20:26:31 +02:00
check to handle sgp sensor
This commit is contained in:
@ -219,7 +219,9 @@ void loop() {
|
||||
|
||||
localServer._handle();
|
||||
|
||||
ag.sgp41.handle();
|
||||
if (configuration.hasSensorSGP) {
|
||||
ag.sgp41.handle();
|
||||
}
|
||||
|
||||
MDNS.update();
|
||||
|
||||
|
@ -246,7 +246,9 @@ void loop() {
|
||||
|
||||
localServer._handle();
|
||||
|
||||
ag.sgp41.handle();
|
||||
if (configuration.hasSensorSGP) {
|
||||
ag.sgp41.handle();
|
||||
}
|
||||
|
||||
MDNS.update();
|
||||
|
||||
|
Reference in New Issue
Block a user