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>
Thu, 16 May 2013 05:11:41 +0000 (22:11 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_gps_ublox.c

index 24e70ee3a8ec34f711bb7115584a16fe1efa7749..56a4da16b3aacb6a646e4e03b7201aa19820ee2a 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);
 
        /*