forked from airgradienthq/arduino
Fix cloud connection mode
Use continue instead of return to ignore the rest of transmission code
This commit is contained in:
@ -1644,7 +1644,7 @@ void networkingTask(void *args) {
|
||||
// If connection to AirGradient server disable don't run config and transmission schedule
|
||||
if (configuration.isCloudConnectionDisabled()) {
|
||||
delay(1000);
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Run scheduler
|
||||
|
Reference in New Issue
Block a user