diff options
author | Keith Packard <keithp@keithp.com> | 2013-10-14 21:49:39 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-10-14 21:49:39 -0700 |
commit | 5c4b3658a96f1a64ccebf7bddda06b15b4ac4a6f (patch) | |
tree | 6de630334a4c2dc32016dd4095ad3cf13183301b /src | |
parent | db4cd8b3838d27bebdeb6a085a739a36f7634a91 (diff) |
altos: Use #define values for ublox packet types
One case was using hex values instead of the #define equivalents.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/ao_gps_ublox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/ao_gps_ublox.c b/src/drivers/ao_gps_ublox.c index 1bc2a68f..e9168348 100644 --- a/src/drivers/ao_gps_ublox.c +++ b/src/drivers/ao_gps_ublox.c @@ -702,9 +702,9 @@ ao_gps(void) __reentrant continue; switch (class) { - case 0x01: + case UBLOX_NAV: switch (id) { - case 0x21: + case UBLOX_NAV_TIMEUTC: ao_mutex_get(&ao_gps_mutex); ao_gps_tick = ao_time(); |