From 4d7dae17d6135c3c6b45f7ba079fb8ca5ed11587 Mon Sep 17 00:00:00 2001 From: MattKear Date: Mon, 23 Sep 2024 23:07:07 +0100 Subject: [PATCH] AP_MotorsHeli: fixup: add arot arming check --- libraries/AP_Motors/AP_MotorsHeli.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_Motors/AP_MotorsHeli.cpp b/libraries/AP_Motors/AP_MotorsHeli.cpp index 84ee29c225abcb..f071096ff1346f 100644 --- a/libraries/AP_Motors/AP_MotorsHeli.cpp +++ b/libraries/AP_Motors/AP_MotorsHeli.cpp @@ -559,6 +559,10 @@ bool AP_MotorsHeli::arming_checks(size_t buflen, char *buffer) const return false; } + if (!_main_rotor.autorotation.arming_checks(buflen, buffer)) { + return false; + } + return true; }