Explorar el Código

Long awaited bug fix about all eeprom positions being sent again

tags/v1.2.0
Bertrand Lemasle hace 6 años
padre
commit
9c38ff5098
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. +3
    -0
      GpsTracker/NetworkPositionsBackup.cpp

+ 3
- 0
GpsTracker/NetworkPositionsBackup.cpp Ver fichero

@@ -56,6 +56,9 @@ namespace positions {
PositionEntry currentEntry;
SIM808RegistrationStatus networkStatus;

//avoid edge case where if 0, whole set of positions will be sent again
if (!positions::count(config::main::value.network.lastSavedEntry)) return;

network::powerOn();
networkStatus = network::waitForRegistered(NETWORK_DEFAULT_TOTAL_TIMEOUT_MS);



Cargando…
Cancelar
Guardar