paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] fix in UCenter module for Ublox 7


From: Felix Ruess
Subject: Re: [Paparazzi-devel] fix in UCenter module for Ublox 7
Date: Tue, 3 Jun 2014 16:07:25 +0200

Thanks Alonso, fixed in master.


On Tue, Jun 3, 2014 at 5:17 AM, alonso acuña <address@hidden> wrote:
Hello. This change is needed to support Ublox 7 chips. Checking only for the software version is not correct for hardware version 7 chips, which have a software version of 1.0.


sw/airborne/modules/gps/gps_ubx_ucenter.c
@@ -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 {

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]