AP_Motors: set ouput scaled with float

This commit is contained in:
Iampete1 2021-09-18 19:06:41 +01:00 committed by Andrew Tridgell
parent 73e9c9bb43
commit b595beab10
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ void AP_MotorsHeli_RSC::write_rsc(float servo_out)
// ToDo: We should probably use RC_Channel_Aux to avoid this problem
return;
} else {
SRV_Channels::set_output_scaled(_aux_fn, (uint16_t) (servo_out * 1000));
SRV_Channels::set_output_scaled(_aux_fn, servo_out * 1000);
}
}