RC_Channel: use is_bounded_int32()

This commit is contained in:
Andrew Tridgell 2015-11-09 08:47:59 +11:00
parent 090c02e6bd
commit ea5cd99651
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}