From 8fd50dd66e7ce5827ac446a7f562b4d56b49a813 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 3 Jun 2020 12:21:50 +1000 Subject: [PATCH] AP_Arming: rename 'enum aux_switch_pos_t' to 'enum class AuxSwitchPos' --- libraries/AP_Arming/AP_Arming.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Arming/AP_Arming.cpp b/libraries/AP_Arming/AP_Arming.cpp index 0a74248504..f7d56a10a1 100644 --- a/libraries/AP_Arming/AP_Arming.cpp +++ b/libraries/AP_Arming/AP_Arming.cpp @@ -1241,7 +1241,7 @@ bool AP_Arming::disarm_switch_checks(bool display_failure) const { const RC_Channel *chan = rc().find_channel_for_option(RC_Channel::AUX_FUNC::DISARM); if (chan != nullptr && - chan->get_aux_switch_pos() == RC_Channel::aux_switch_pos_t::HIGH && + chan->get_aux_switch_pos() == RC_Channel::AuxSwitchPos::HIGH && (checks_to_perform & ARMING_CHECK_ALL)) { check_failed(display_failure, "Disarm Switch on"); return false;