From 6074ae5231aba8781fd4742c40f3c6fd823f04b9 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Thu, 2 May 2019 00:13:53 +1200 Subject: [PATCH] Fix to make the AND Logic work on all modes (#8130) Fix to make the AND Logic work on all modes --- src/main/fc/rc_modes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/fc/rc_modes.c b/src/main/fc/rc_modes.c index cd881d8b5d..040e780502 100644 --- a/src/main/fc/rc_modes.c +++ b/src/main/fc/rc_modes.c @@ -154,7 +154,7 @@ void updateActivatedModes(void) updateMasksForMac(mac, &andMask, &newMask, bActive); } - bitArrayXor(&newMask, sizeof(&newMask), &newMask, &andMask); + bitArrayXor(&newMask, sizeof(newMask), &newMask, &andMask); rcModeUpdate(&newMask);