From: Robert Lipe Date: Thu, 7 Jan 2016 04:22:48 +0000 (-0600) Subject: François B observes that Galaxy S5 BDGSA sentences are empty at two twokens, X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~9^2~47 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=585451ca54451b3417e3ce6f3dbc71e973e85864;p=gpsbabel.git François B observes that Galaxy S5 BDGSA sentences are empty at two twokens, not four. Fix warning for 'Short GSA sentence". --- diff --git a/nmea.cc b/nmea.cc index 9b6e09351..116a8e64e 100644 --- a/nmea.cc +++ b/nmea.cc @@ -691,7 +691,7 @@ gpgsa_parse(char* ibuf) &fixauto, &fix, &prn[0],&prn[1],&prn[2],&prn[3],&prn[4],&prn[5], &prn[6],&prn[7],&prn[8],&prn[9],&prn[10],&prn[11]); - if (scn < 4) { + if (scn < 2) { warning(MYNAME ": Short GSA sentence.\n"); } /*