Skip to content

Commit

Permalink
AP_MotorsHeli: fixup: add arot arming check
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKear committed Sep 23, 2024
1 parent 454062a commit 4d7dae1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/AP_Motors/AP_MotorsHeli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4d7dae1

Please sign in to comment.