Ver a proveniência

Fixed respondeCode was evaluated to a boolean

tags/v1.2.0
Bertrand Lemasle há 6 anos
ascendente
cometimento
a767fe6076
1 ficheiros alterados com 2 adições e 2 eliminações
  1. +2
    -2
      GpsTracker/NetworkPositionsBackup.cpp

+ 2
- 2
GpsTracker/NetworkPositionsBackup.cpp Ver ficheiro

@@ -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")))


Carregando…
Cancelar
Guardar