SRV_Channel: more changes for 32 bit servo mask

This commit is contained in:
Andrew Tridgell 2022-05-16 07:30:17 +10:00
parent 4557c8ad04
commit ed01d33ef8
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ SRV_Channel::SRV_Channel(void)
{
AP_Param::setup_object_defaults(this, var_info);
// start with all pwm at zero
have_pwm_mask = ~uint16_t(0);
have_pwm_mask = ~uint32_t(0);
}
// convert a 0..range_max to a pwm