|
|
@ -59,7 +59,7 @@ void Copter::init_rc_out() |
|
|
|
#if FRAME_CONFIG != HELI_FRAME |
|
|
|
#if FRAME_CONFIG != HELI_FRAME |
|
|
|
motors->set_throttle_range(channel_throttle->get_radio_min(), channel_throttle->get_radio_max()); |
|
|
|
motors->set_throttle_range(channel_throttle->get_radio_min(), channel_throttle->get_radio_max()); |
|
|
|
#else |
|
|
|
#else |
|
|
|
// setup correct scaling for ESCs like the UAVCAN PX4ESC which
|
|
|
|
// setup correct scaling for ESCs like the UAVCAN ESCs which
|
|
|
|
// take a proportion of speed.
|
|
|
|
// take a proportion of speed.
|
|
|
|
hal.rcout->set_esc_scaling(channel_throttle->get_radio_min(), channel_throttle->get_radio_max()); |
|
|
|
hal.rcout->set_esc_scaling(channel_throttle->get_radio_min(), channel_throttle->get_radio_max()); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|