From 49b18819ce37da7625651ceb5aee3025ef805d5c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 29 Apr 2017 18:34:01 +1000 Subject: [PATCH] Copter: enable channels in ESC calibration --- ArduCopter/esc_calibration.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduCopter/esc_calibration.cpp b/ArduCopter/esc_calibration.cpp index 0c96cac7eb..af9ea21646 100644 --- a/ArduCopter/esc_calibration.cpp +++ b/ArduCopter/esc_calibration.cpp @@ -100,6 +100,7 @@ void Copter::esc_calibration_passthrough() // arm motors motors->armed(true); motors->enable(); + SRV_Channels::enable_by_mask(motors->get_motor_mask()); uint32_t last_notify_update_ms = 0; while(1) { @@ -144,6 +145,7 @@ void Copter::esc_calibration_auto() // arm and enable motors motors->armed(true); motors->enable(); + SRV_Channels::enable_by_mask(motors->get_motor_mask()); // flash LEDS AP_Notify::flags.esc_calibration = true;