forked from airgradienthq/arduino
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();
|
||||
|
||||
|
@ -245,8 +245,10 @@ void loop() {
|
||||
configUpdateHandle();
|
||||
|
||||
localServer._handle();
|
||||
|
||||
ag.sgp41.handle();
|
||||
|
||||
if (configuration.hasSensorSGP) {
|
||||
ag.sgp41.handle();
|
||||
}
|
||||
|
||||
MDNS.update();
|
||||
|
||||
|
Reference in New Issue
Block a user