From: Keith Packard Date: Tue, 14 May 2013 05:58:18 +0000 (-0700) Subject: altos: Struct used for u-blox testing had lat/lon swapped X-Git-Tag: 1.2.1~11 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=61f5183fb6aff63c1133011b5625814ee56e96da 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 --- 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 */