Define constant for "dipswitch" positions
This commit is contained in:
parent
7b179d4343
commit
671dfe9b2c
5 changed files with 87 additions and 72 deletions
|
@ -269,14 +269,6 @@ void setup() {
|
|||
//Read eeprom data into global vars
|
||||
readEEPROM();
|
||||
|
||||
//Parse out flags from bit field
|
||||
fastBoot = dipSwBits & (1<<0);
|
||||
legacy = dipSwBits & (1<<1);
|
||||
legacyBrAct = dipSwBits & (1<<2);
|
||||
slowMidi = dipSwBits & (1<<3);
|
||||
gateOpenEnable = dipSwBits & (1<<4);
|
||||
specialKeyEnable = dipSwBits & (1<<5);
|
||||
bcasMode = dipSwBits & (1<<6);
|
||||
activePatch = patch;
|
||||
|
||||
touch_Thr = map(ctouchThrVal,ctouchHiLimit,ctouchLoLimit,ttouchLoLimit,ttouchHiLimit);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue