diff --git a/AntennaTracker/system.cpp b/AntennaTracker/system.cpp index 774ee6ef4f..e42836ebe0 100644 --- a/AntennaTracker/system.cpp +++ b/AntennaTracker/system.cpp @@ -195,8 +195,8 @@ void Tracker::disarm_servos() void Tracker::prepare_servos() { start_time_ms = AP_HAL::millis(); - SRV_Channels::set_output_limit(SRV_Channel::k_tracker_yaw, SRV_Channel::SRV_CHANNEL_LIMIT_TRIM); - SRV_Channels::set_output_limit(SRV_Channel::k_tracker_pitch, SRV_Channel::SRV_CHANNEL_LIMIT_TRIM); + SRV_Channels::set_output_limit(SRV_Channel::k_tracker_yaw, SRV_Channel::Limit::TRIM); + SRV_Channels::set_output_limit(SRV_Channel::k_tracker_pitch, SRV_Channel::Limit::TRIM); SRV_Channels::calc_pwm(); SRV_Channels::output_ch_all(); }