From c4b0d7bc35b9cbe2b337ba6d7e02f0e5d538c5a9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 17 Apr 2017 17:14:40 +1000 Subject: [PATCH] Copter: removed calls to motors->enable() --- ArduCopter/esc_calibration.cpp | 2 -- ArduCopter/radio.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/ArduCopter/esc_calibration.cpp b/ArduCopter/esc_calibration.cpp index e50a5a5c30..f416fb5b07 100644 --- a/ArduCopter/esc_calibration.cpp +++ b/ArduCopter/esc_calibration.cpp @@ -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); diff --git a/ArduCopter/radio.cpp b/ArduCopter/radio.cpp index 5fe6d16e51..373a4bf6cb 100644 --- a/ArduCopter/radio.cpp +++ b/ArduCopter/radio.cpp @@ -79,7 +79,6 @@ void Copter::init_rc_out() void Copter::enable_motor_output() { // enable motors - motors->enable(); motors->output_min(); }