The lezyne "super gps", every 10th ride or so, outputs a .fit file that is entirely...
authorTim Connors <tconnors@rather.puzzling.org>
Sat, 14 Sep 2019 12:06:06 +0000 (22:06 +1000)
committerJochen Sprickerhof <jspricke@debian.org>
Tue, 21 Apr 2020 17:40:57 +0000 (18:40 +0100)
Gbp-Pq: Name 0012-The-lezyne-super-gps-every-10th-ride-or-so-outputs-a.patch

garmin_fit.cc

index ad949f477d36c361aae61724eabcfc7ffa6ca1e3..8f2b8e16fa618c255b527e6d66d92127cb0f3b94 100644 (file)
@@ -253,7 +253,7 @@ fit_parse_definition_message(uint8_t header)
   // second byte is endianness
   def->endian = fit_getuint8();
   if (def->endian > 1) {
-    fatal(MYNAME ": Bad endian field\n");
+    warning(MYNAME ": Unusual endian field (interpreting as big endian): %d\n",def->endian);
   }
   fit_data.endian = def->endian;