Compilation fixes on all boards
This commit is contained in:
+1
-1
@@ -347,7 +347,7 @@ getvalue_t getValue(mixsrc_t i)
|
||||
else if ((i >= MIXSRC_FIRST_SWITCH) && (i <= MIXSRC_LAST_SWITCH)) {
|
||||
mixsrc_t sw = i-MIXSRC_FIRST_SWITCH;
|
||||
if (SWITCH_EXISTS(sw)) {
|
||||
return (switchState(3*sw) ? -1024 : (switchState(3*sw+1) ? 0 : 1024));
|
||||
return (switchState(3*sw) ? -1024 : (IS_CONFIG_3POS(sw) && switchState(3*sw+1) ? 0 : 1024));
|
||||
}
|
||||
else {
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user