Skip to content

Commit 2f65c15

Browse files
committed
Copter: remove restriction on arming with rudder in toymode
- does it really matter if the user does this when they can just throttle up to take off? - stops spreading oymode stuff through the code - kind of weird doing this in Arming anyway
1 parent 168b088 commit 2f65c15

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

ArduCopter/AP_Arming_Copter.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -566,16 +566,6 @@ bool AP_Arming_Copter::alt_checks(bool display_failure)
566566
// has side-effect that logging is started
567567
bool AP_Arming_Copter::arm_checks(AP_Arming::Method method)
568568
{
569-
if (method == AP_Arming::Method::RUDDER) {
570-
#if TOY_MODE_ENABLED
571-
if (copter.g2.toy_mode.enabled()) {
572-
// not armed with sticks in toy mode
573-
check_failed(true, "Rudder-arming: disabled in toy mode");
574-
return false;
575-
}
576-
#endif
577-
}
578-
579569
const auto &ahrs = AP::ahrs();
580570

581571
// always check if inertial nav has started and is ready

0 commit comments

Comments
 (0)