From 68d54c2dac8e2d082f0326cdcf56c31e70203300 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Mon, 18 Mar 2019 16:37:42 -0700 Subject: driver_nmea0183: Fix 32/64 bug in cycle enders. Long standing bug, that became obvious when more NMEA decodes were added. A 32 bit mask used to index into a 40 member array.o Also fix over agressive mode setting on $PSRFEPE. --- test/daemon/beidou-bd.log.chk | 5 ----- test/daemon/beidou-gb.log.chk | 3 --- 2 files changed, 8 deletions(-) (limited to 'test') diff --git a/test/daemon/beidou-bd.log.chk b/test/daemon/beidou-bd.log.chk index 1372cfbd..f304d0c7 100644 --- a/test/daemon/beidou-bd.log.chk +++ b/test/daemon/beidou-bd.log.chk @@ -1,5 +1,4 @@ $PSRFEPE,074150.799,V,,,,,*23 -{"class":"TPV","mode":1} $GNGGA,074150.799,,,,,0,00,,,M,0.0,M,,0000,*64 $GNGNS,074150.799,,,,,NNNN,00,,,0.0,,0000*63 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 @@ -20,7 +19,6 @@ $BDGSV,2,2,07,05,27,090,,13,19,016,,11,07,147,*5E $GNRMC,074150.799,V,,,,,,,250215,,,N*52 {"class":"TPV","mode":1} $PSRFEPE,074151.799,V,,,,,*22 -{"class":"TPV","mode":1} $GNGGA,074151.799,,,,,0,00,,,M,0.0,M,,0000,*65 $GNGNS,074151.799,,,,,NNNN,00,,,0.0,,0000*62 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 @@ -29,7 +27,6 @@ $BDGSA,A,1,,,,,,,,,,,,,,,,*23 $GNRMC,074151.799,V,,,,,,,250215,,,N*53 {"class":"TPV","mode":1} $PSRFEPE,074152.799,V,,,,,*21 -{"class":"TPV","mode":1} $GNGGA,074152.799,,,,,0,00,,,M,0.0,M,,0000,*66 $GNGNS,074152.799,,,,,NNNN,00,,,0.0,,0000*61 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 @@ -39,7 +36,6 @@ $GNRMC,074152.799,V,,,,,,,250215,,,N*50 {"class":"TPV","mode":1} $PSRF151,3,1833,28692,0x7EFFFFFF*15 $PSRFEPE,074153.799,V,,,,,*20 -{"class":"TPV","mode":1} $GNGGA,074153.799,,,,,0,00,,,M,0.0,M,,0000,*67 $GNGNS,074153.799,,,,,NNNN,00,,,0.0,,0000*60 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 @@ -48,7 +44,6 @@ $BDGSA,A,1,,,,,,,,,,,,,,,,*23 $GNRMC,074153.799,V,,,,,,,250215,,,N*51 {"class":"TPV","mode":1} $PSRFEPE,074154.799,V,,,,,*27 -{"class":"TPV","mode":1} $GNGGA,074154.799,,,,,0,00,,,M,0.0,M,,0000,*60 $GNGNS,074154.799,,,,,NNNN,00,,,0.0,,0000*67 $GPGSA,A,1,,,,,,,,,,,,,,,,*32 diff --git a/test/daemon/beidou-gb.log.chk b/test/daemon/beidou-gb.log.chk index 41a2b419..216ab57a 100644 --- a/test/daemon/beidou-gb.log.chk +++ b/test/daemon/beidou-gb.log.chk @@ -1,5 +1,4 @@ $PSRFEPE,053229.438,V,,,,,*23 -{"class":"TPV","mode":1} $GPGGA,053229.438,,,,,0,00,,,M,0.0,M,,0000*56 $GNGNS,053229.438,,,,,NNNN,00,,,0.0,,0000*63 $GNGSA,A,1,,,,,,,,,,,,,,,*00 @@ -17,7 +16,6 @@ $GBGSV,2,2,05,209,07,033,*62 $GNRMC,053229.438,V,,,,,,,020315,,,N*56 {"class":"TPV","mode":1} $PSRFEPE,053230.438,V,,,,,*2B -{"class":"TPV","mode":1} $GPGGA,053230.438,,,,,0,00,,,M,0.0,M,,0000*5E $GNGNS,053230.438,,,,,NNNN,00,,,0.0,,0000*6B $GNGSA,A,1,,,,,,,,,,,,,,,*00 @@ -34,7 +32,6 @@ $GBGSV,2,2,05,209,07,033,*62 $GNRMC,053230.438,V,,,,,,,020315,,,N*5E {"class":"TPV","mode":1} $PSRFEPE,053231.438,V,,,,,*2A -{"class":"TPV","mode":1} $GPGGA,053231.438,,,,,0,00,,,M,0.0,M,,0000*5F $GNGNS,053231.438,,,,,NNNN,00,,,0.0,,0000*6A $GNGSA,A,1,,,,,,,,,,,,,,,*00 -- cgit v1.2.1