Compilation fix

This commit is contained in:
Bertrand Songis
2015-09-01 19:38:48 +02:00
parent 362e7c67db
commit 405d83b539
2 changed files with 3 additions and 13 deletions
-13
View File
@@ -128,19 +128,6 @@ enum EnumKeys {
SW_SR0,
SW_SR1,
SW_SR2,
#else
SW_SI0,
SW_SI2,
SW_SJ0,
SW_SJ2,
SW_SK0,
SW_SK2,
SW_SL0,
SW_SL2,
SW_SM0,
SW_SM2,
SW_SN0,
SW_SN2,
#endif
#else
SW_ID0=SW_BASE,
+3
View File
@@ -158,6 +158,8 @@ void getSwitchesPosition(bool startup)
CHECK_2POS(SW_SF);
CHECK_3POS(5, SW_SG);
CHECK_2POS(SW_SH);
#if defined(REV9E)
CHECK_3POS(6, SW_SI);
CHECK_3POS(7, SW_SJ);
CHECK_3POS(8, SW_SK);
@@ -168,6 +170,7 @@ void getSwitchesPosition(bool startup)
CHECK_3POS(13, SW_SP);
CHECK_3POS(14, SW_SQ);
CHECK_3POS(15, SW_SR);
#endif
switchesPos = newPos;