summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-13 22:58:18 -0700
committerKeith Packard <keithp@keithp.com>2013-05-13 22:58:18 -0700
commit61f5183fb6aff63c1133011b5625814ee56e96da (patch)
treed923a8cbaceee8bf20253a5fd9e2b9f82563a36b /src
parent5a730dd7a78b5ae428bcfe809257dabedc4338f5 (diff)
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 <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/ao_gps_ublox.h2
1 files changed, 1 insertions, 1 deletions
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 */