altos: Give u-blox 3 seconds after boot before we bug it
authorKeith Packard <keithp@keithp.com>
Tue, 14 May 2013 16:21:54 +0000 (09:21 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 14 May 2013 16:21:54 +0000 (09:21 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_gps_ublox.c

index 2774619a053e87db599e47a7309b4c9ea8c9bdf6..89328728eadc0ba4178a0ae8ac3838817f80dac0 100644 (file)
@@ -405,6 +405,9 @@ static void
 ao_gps_setup(void)
 {
        uint8_t i, k;
+
+       ao_delay(AO_SEC_TO_TICKS(3));
+
        ao_ublox_set_speed(AO_SERIAL_SPEED_9600);
 
        /*