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:
parent
8de7f4a520
commit
277f3799a5
APMrover2
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user