mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
gps: add missing case & arguments for femtomes driver
This commit is contained in:
parent
49f81a9e0e
commit
22e2fc9465
@ -319,6 +319,8 @@ GPS::GPS(const char *path, gps_driver_mode_t mode, GPSHelper::Interface interfac
|
||||
case 3: _mode = gps_driver_mode_t::ASHTECH; break;
|
||||
|
||||
case 4: _mode = gps_driver_mode_t::EMLIDREACH; break;
|
||||
|
||||
case 5: _mode = gps_driver_mode_t::FEMTOMES; break;
|
||||
#endif // CONSTRAINED_FLASH
|
||||
}
|
||||
}
|
||||
@ -788,7 +790,7 @@ GPS::run()
|
||||
break;
|
||||
|
||||
case gps_driver_mode_t::FEMTOMES:
|
||||
_helper = new GPSDriverFemto(&GPS::callback, this, &_report_gps_pos/*, _p_report_sat_info*/);
|
||||
_helper = new GPSDriverFemto(&GPS::callback, this, &_report_gps_pos, _p_report_sat_info, heading_offset);
|
||||
set_device_type(DRV_GPS_DEVTYPE_FEMTOMES);
|
||||
break;
|
||||
#endif // CONSTRAINED_FLASH
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user