From 61f5183fb6aff63c1133011b5625814ee56e96da Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 13 May 2013 22:58:18 -0700 Subject: [PATCH] altos: Struct used for u-blox testing had lat/lon swapped The structs in ao_gps_ublox.h are used only by the test framework, but it's useful to have that look right anyways. Signed-off-by: Keith Packard --- src/drivers/ao_gps_ublox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/ao_gps_ublox.h b/src/drivers/ao_gps_ublox.h index 13bf6955..562a4354 100644 --- a/src/drivers/ao_gps_ublox.h +++ b/src/drivers/ao_gps_ublox.h @@ -50,8 +50,8 @@ struct ublox_nav_posllh { uint16_t length; /* 28 */ uint32_t itow; /* ms */ - int32_t lat; /* deg * 1e7 */ int32_t lon; /* deg * 1e7 */ + int32_t lat; /* deg * 1e7 */ int32_t height; /* mm */ int32_t hmsl; /* mm */ uint32_t hacc; /* mm */ -- 2.30.2