altos: Struct used for u-blox testing had lat/lon swapped
authorKeith Packard <keithp@keithp.com>
Tue, 14 May 2013 05:58:18 +0000 (22:58 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 14 May 2013 05:58:18 +0000 (22:58 -0700)
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>
src/drivers/ao_gps_ublox.h

index 13bf6955b2401a9cb203f19f82bd3ca04e6c4b97..562a43543f9722d6cc86d99c85818ab1720c13dc 100644 (file)
@@ -50,8 +50,8 @@ struct ublox_nav_posllh {
        uint16_t        length;         /* 28 */
 
        uint32_t        itow;           /* ms */
        uint16_t        length;         /* 28 */
 
        uint32_t        itow;           /* ms */
-       int32_t         lat;            /* deg * 1e7 */
        int32_t         lon;            /* deg * 1e7 */
        int32_t         lon;            /* deg * 1e7 */
+       int32_t         lat;            /* deg * 1e7 */
        int32_t         height;         /* mm */
        int32_t         hmsl;           /* mm */
        uint32_t        hacc;           /* mm */
        int32_t         height;         /* mm */
        int32_t         hmsl;           /* mm */
        uint32_t        hacc;           /* mm */