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
+1 -1
View File
@@ -286,7 +286,7 @@ void evalFunctions()
for (uint8_t i=0; i<MAX_SPECIAL_FUNCTIONS; i++) { for (uint8_t i=0; i<MAX_SPECIAL_FUNCTIONS; i++) {
const CustomFunctionData * cfn = &functions[i]; const CustomFunctionData * cfn = &functions[i];
int8_t swtch = CFN_SWITCH(cfn); swsrc_t swtch = CFN_SWITCH(cfn);
if (swtch) { if (swtch) {
MASK_CFN_TYPE switch_mask = ((MASK_CFN_TYPE)1 << i); MASK_CFN_TYPE switch_mask = ((MASK_CFN_TYPE)1 << i);