|
From: | alonso acuña |
Subject: | [Paparazzi-devel] fix in UCenter module for Ublox 7 |
Date: | Mon, 2 Jun 2014 21:17:14 -0600 |
@@ -337,7 +337,7 @@ static bool_t gps_ubx_ucenter_autobaud(uint8_t nr) |
||
337 | 337 |
static inline void gps_ubx_ucenter_config_nav(void) |
338 | 338 |
{ |
339 | 339 |
//New ublox firmware v5 or higher uses CFG_NAV5 message, CFG_NAV is no longer available |
340 |
- if (gps_ubx_ucenter.sw_ver_h < 5) { |
|
340 |
+ if (gps_ubx_ucenter.sw_ver_h < 5 && gps_ubx_ucenter.hw_ver_h < 6) {
|
|
341 | 341 |
UbxSend_CFG_NAV(NAV_DYN_AIRBORNE_2G, 3, 16, 24, 20, 5, 0, 0x3C, 0x3C, 0x14, 0x03E8 ,0x0000, 0x0, 0x17, 0x00FA, 0x00FA, 0x0064, 0x012C, 0x000F, 0x00, 0x00); |
342 | 342 |
} |
343 | 343 |
else { |
[Prev in Thread] | Current Thread | [Next in Thread] |