Explorar el Código

Fixed respondeCode was evaluated to a boolean

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

+ 2
- 2
GpsTracker/NetworkPositionsBackup.cpp Ver fichero

@@ -44,10 +44,10 @@ namespace positions {
buffer,
buffer,
BUFFER_SIZE
) == POSITIONS_CONFIG_NET_DEFAULT_EXPECTED_RESPONSE;
);

NOTICE_FORMAT("appendPosition", "Response : %d", responseCode);
return responseCode;
return responseCode == POSITIONS_CONFIG_NET_DEFAULT_EXPECTED_RESPONSE;
}

//__attribute__((__optimize__("O2")))


Cargando…
Cancelar
Guardar