diff --git a/BoardInterface.cpp b/BoardInterface.cpp index f763438..0e10bbf 100644 --- a/BoardInterface.cpp +++ b/BoardInterface.cpp @@ -36,6 +36,13 @@ void BoardInterface::shutdownDevice() { displayMessage("Shutdown in 3 sec.", ""); delay(3000); +#ifdef SIM800L_ENABLED + if(sim800l->isConnectedGPRS()) { + sim800l->disconnectGPRS(); + } + sim800l->setPowerMode(MINIMUM); +#endif //SIM800L_ENABLED + setCpuFrequencyMhz(80); setBrightness(0); //WiFi.disconnect(true); diff --git a/evDash.ino b/evDash.ino index c46301c..caf01a9 100644 --- a/evDash.ino +++ b/evDash.ino @@ -23,7 +23,7 @@ - TinyGPSPlus (m5stack GPS) SIM800L m5stack (https://github.com/kolaCZek) - - SIM800L.h, SoftwareSerial.h + - SIM800L.h */ ////////////////////////////////////////////////////////////