[X9D] Switches added

This commit is contained in:
bsongis
2012-11-22 19:17:26 +00:00
parent 31c2d69303
commit 03751a1c75
12 changed files with 123 additions and 18 deletions
+4 -2
View File
@@ -819,9 +819,11 @@ void menuGeneralDiagKeys(uint8_t event)
for(uint8_t i=0; i<9; i++) {
uint8_t y = i*FH; //+FH;
if(i>(SW_ID0-SW_BASE_DIAG)) y-=FH; //overwrite ID0
#if !defined(PCBX9D)
if(i>(SW_ID0-SW_BASE)) y-=FH; //overwrite ID0
putsSwitches(8*FW, y, i+1, 0); //ohne off,on
displayKeyState(11*FW+2, y, (EnumKeys)(SW_BASE_DIAG+i));
displayKeyState(11*FW+2, y, (EnumKeys)(SW_BASE+i));
#endif
if (i<8) {
y = i/2*FH+FH*4;