Parcourir la source

Fixed respondeCode was evaluated to a boolean

tags/v1.2.0
Bertrand Lemasle il y a 6 ans
Parent
révision
a767fe6076
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      GpsTracker/NetworkPositionsBackup.cpp

+ 2
- 2
GpsTracker/NetworkPositionsBackup.cpp Voir le fichier

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


Chargement…
Annuler
Enregistrer