5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-05 23:48:31 -04:00

Rover: devo telemetry no long requires singleton classes to be passed in

This commit is contained in:
Peter Barker 2019-02-13 16:02:39 +11:00 committed by Francisco Ferreira
parent 8de7f4a520
commit 277f3799a5
2 changed files with 2 additions and 2 deletions

View File

@ -299,7 +299,7 @@ private:
AP_Frsky_Telem frsky_telemetry;
#endif
#if DEVO_TELEM_ENABLED == ENABLED
AP_DEVO_Telem devo_telemetry{ahrs};
AP_DEVO_Telem devo_telemetry;
#endif
uint32_t control_sensors_present;

View File

@ -87,7 +87,7 @@ void Rover::init_ardupilot()
frsky_telemetry.init((is_boat() ? MAV_TYPE_SURFACE_BOAT : MAV_TYPE_GROUND_ROVER));
#endif
#if DEVO_TELEM_ENABLED == ENABLED
devo_telemetry.init(serial_manager);
devo_telemetry.init();
#endif
#if OSD_ENABLED == ENABLED