mirror of https://github.com/ArduPilot/ardupilot
AP_Winch: use enum-class for SRV_CHANNEL_LIMIT_TRIM and friends
This commit is contained in:
parent
ef6a34a9f0
commit
4c9c5767ed
|
@ -24,7 +24,7 @@ void AP_Winch_Servo::update()
|
||||||
|
|
||||||
// if not doing any control output trim value
|
// if not doing any control output trim value
|
||||||
if (config.state == AP_Winch::STATE_RELAXED) {
|
if (config.state == AP_Winch::STATE_RELAXED) {
|
||||||
SRV_Channels::set_output_limit(SRV_Channel::k_winch, SRV_Channel::SRV_CHANNEL_LIMIT_TRIM);
|
SRV_Channels::set_output_limit(SRV_Channel::k_winch, SRV_Channel::Limit::TRIM);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue