Initialize the GPS serial protocol state
authorKeith Packard <keithp@keithp.com>
Sat, 18 Jul 2009 04:33:53 +0000 (21:33 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 18 Jul 2009 04:33:53 +0000 (21:33 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_gps.c

index 78957cb386dc6aeff05f2f19af1971128ff1a0d1..1ce738b1f7bf1421b4a68c8a47604ff0d8371620 100644 (file)
@@ -279,6 +279,7 @@ ao_gps(void) __reentrant
        uint8_t i, k;
        uint16_t cksum;
 
+       ao_gps_setup();
        for (k = 0; k < 5; k++)
        {
                for (i = 0; i < sizeof (ao_gps_config); i++)