mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -04:00
RC_Channel: use is_bounded_int32()
This commit is contained in:
parent
090c02e6bd
commit
ea5cd99651
@ -517,5 +517,5 @@ uint16_t RC_Channel::get_limit_pwm(LimitValue limit) const
|
||||
*/
|
||||
bool RC_Channel::in_trim_dz()
|
||||
{
|
||||
return is_bounded(radio_in, radio_trim - _dead_zone, radio_trim + _dead_zone);
|
||||
return is_bounded_int32(radio_in, radio_trim - _dead_zone, radio_trim + _dead_zone);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user