1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-15 04:15:38 +03:00

Add USER3 mode (#8276)

This commit is contained in:
Michel Pastor 2022-08-01 17:56:14 +02:00 committed by GitHub
parent f835bcecef
commit da521b0fde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 1 deletions

View file

@ -683,6 +683,10 @@ static int logicConditionGetFlightModeOperandValue(int operand) {
return IS_RC_MODE_ACTIVE(BOXUSER2);
break;
case LOGIC_CONDITION_OPERAND_FLIGHT_MODE_USER3:
return IS_RC_MODE_ACTIVE(BOXUSER3);
break;
default:
return 0;
break;
@ -861,4 +865,4 @@ bool isFlightAxisRateOverrideActive(uint8_t axis) {
} else {
return false;
}
}
}