mirror of https://github.com/ArduPilot/ardupilot
AP_Motors: set ouput scaled with float
This commit is contained in:
parent
73e9c9bb43
commit
b595beab10
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue