Ver código fonte

Fixed respondeCode was evaluated to a boolean

tags/v1.2.0
Bertrand Lemasle 6 anos atrás
pai
commit
a767fe6076
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      GpsTracker/NetworkPositionsBackup.cpp

+ 2
- 2
GpsTracker/NetworkPositionsBackup.cpp Ver arquivo

@@ -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
Salvar