forked from airgradienthq/arduino
Merge pull request #298 from airgradienthq/fix/recover-cellular-connection
Restarting cellular module when cellular client is not ready
This commit is contained in:
@ -813,8 +813,6 @@ static void openAirInit(void) {
|
|||||||
Serial.println("CO2 S8 sensor not found");
|
Serial.println("CO2 S8 sensor not found");
|
||||||
Serial.println("Can not detect S8 run mode 'PPT'");
|
Serial.println("Can not detect S8 run mode 'PPT'");
|
||||||
fwMode = FW_MODE_O_1PPT;
|
fwMode = FW_MODE_O_1PPT;
|
||||||
|
|
||||||
Serial0.end();
|
|
||||||
delay(200);
|
delay(200);
|
||||||
} else {
|
} else {
|
||||||
Serial.println("Found S8 on Serial0");
|
Serial.println("Found S8 on Serial0");
|
||||||
|
Submodule src/Libraries/airgradient-client updated: f8a455c548...30e9807671
Reference in New Issue
Block a user