Fix warning

Fix warning
This commit is contained in:
Theo Arends 2019-08-20 12:17:21 +02:00
parent 1bd4b1900e
commit 86b6dc7ecb
2 changed files with 4 additions and 5 deletions

View File

@ -178,16 +178,15 @@ bool Xdsp02(byte function)
SSD1306InitDriver();
}
else if (XDSP_02 == Settings.display_model) {
switch (function) {
case FUNC_DISPLAY_MODEL:
result = true;
break;
#ifdef USE_DISPLAY_MODES1TO5
case FUNC_DISPLAY_EVERY_SECOND:
Ssd1306Refresh();
break;
#endif // USE_DISPLAY_MODES1TO5
case FUNC_DISPLAY_MODEL:
result = true;
break;
}
}
}

View File

@ -211,7 +211,7 @@ if (2 == ctouch_counter) {
}
}
}
#endif USE_TOUCH_BUTTONS
#endif // USE_TOUCH_BUTTONS
/*
void testall() {
ra8876->clearScreen(0);