summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-14 09:21:54 -0700
committerKeith Packard <keithp@keithp.com>2013-05-14 09:21:54 -0700
commit93cad1b6d462648ebfdf494aab94767a896afc7c (patch)
tree232ae1fdd74593864e9bf731237d8a3cac74c79c
parent20523344d3d9e5fb01166a1452e833705c6ce783 (diff)
altos: Give u-blox 3 seconds after boot before we bug it
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/drivers/ao_gps_ublox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/ao_gps_ublox.c b/src/drivers/ao_gps_ublox.c
index 2774619a..89328728 100644
--- a/src/drivers/ao_gps_ublox.c
+++ b/src/drivers/ao_gps_ublox.c
@@ -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);
/*