Sfoglia il codice sorgente

Fixed respondeCode was evaluated to a boolean

tags/v1.2.0
Bertrand Lemasle 6 anni fa
parent
commit
a767fe6076
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      GpsTracker/NetworkPositionsBackup.cpp

+ 2
- 2
GpsTracker/NetworkPositionsBackup.cpp Vedi File

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


Caricamento…
Annulla
Salva