mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: removed calls to motors->enable()
This commit is contained in:
parent
03e1f6967f
commit
c4b0d7bc35
@ -101,7 +101,6 @@ void Copter::esc_calibration_passthrough()
|
||||
|
||||
// arm motors
|
||||
motors->armed(true);
|
||||
motors->enable();
|
||||
SRV_Channels::enable_by_mask(motors->get_motor_mask());
|
||||
hal.util->set_soft_armed(true);
|
||||
|
||||
@ -149,7 +148,6 @@ void Copter::esc_calibration_auto()
|
||||
|
||||
// arm and enable motors
|
||||
motors->armed(true);
|
||||
motors->enable();
|
||||
SRV_Channels::enable_by_mask(motors->get_motor_mask());
|
||||
hal.util->set_soft_armed(true);
|
||||
|
||||
|
@ -79,7 +79,6 @@ void Copter::init_rc_out()
|
||||
void Copter::enable_motor_output()
|
||||
{
|
||||
// enable motors
|
||||
motors->enable();
|
||||
motors->output_min();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user