Explorar el Código

Fixed network not being turned off (resulting in sim808 not being turned off) because of prepare turning it on

tags/v1.2.0
Bertrand Lemasle hace 7 años
padre
commit
dd49cc3013
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. +5
    -2
      GpsTracker/NetworkPositionsBackup.cpp

+ 5
- 2
GpsTracker/NetworkPositionsBackup.cpp Ver fichero

@@ -109,8 +109,11 @@ namespace positions {
void NetworkPositionsBackup::backup(bool force) {
NOTICE("backup");

if (!force || !isBackupNeeded(false)) return;
appendPositions();
if (force || isBackupNeeded(false)) {
appendPositions();
}

network::powerOff();
}
}
}


Cargando…
Cancelar
Guardar