Copter: refresh rc servo function on startup

This commit is contained in:
Randy Mackay 2015-06-10 15:00:18 +09:00
parent 03a336d496
commit 28fc981d29

View File

@ -76,6 +76,9 @@ void Copter::init_rc_out()
enable_motor_output();
}
// refresh auxiliary channel to function map
RC_Channel_aux::update_aux_servo_function();
// setup correct scaling for ESCs like the UAVCAN PX4ESC which
// take a proportion of speed.
hal.rcout->set_esc_scaling(channel_throttle->radio_min, channel_throttle->radio_max);