AP_Arming: remove call to rcout->prepare_for_arming()

This commit is contained in:
Andy Piper 2021-06-16 10:27:51 +01:00 committed by Andrew Tridgell
parent 61f1c3c9ce
commit 2e1368d8a7

View File

@ -1169,11 +1169,6 @@ bool AP_Arming::arm_checks(AP_Arming::Method method)
}
}
// enable any pending dshot commands to be flushed before sending actual throttle values
if (!hal.rcout->prepare_for_arming()) {
return false;
}
#if HAL_GYROFFT_ENABLED
// make sure the FFT subsystem is enabled if arming checks have been disabled
AP_GyroFFT *fft = AP::fft();