Bug fix for X9E (FM all active at the same time in special funcitons) (#3854)

* Bug fix for X9E (FM all active at the same time in special funcitons)

* Fix the fix
This commit is contained in:
3djc
2016-09-25 09:36:44 +02:00
committed by Andre Bernet
parent 435346ce3a
commit 670a832985
+2 -2
View File
@@ -2,7 +2,7 @@
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
@@ -286,7 +286,7 @@ void evalFunctions()
for (uint8_t i=0; i<MAX_SPECIAL_FUNCTIONS; i++) {
const CustomFunctionData * cfn = &functions[i];
int8_t swtch = CFN_SWITCH(cfn);
swsrc_t swtch = CFN_SWITCH(cfn);
if (swtch) {
MASK_CFN_TYPE switch_mask = ((MASK_CFN_TYPE)1 << i);