Fixes #1175 (display part missing)

This commit is contained in:
Andre Bernet
2014-06-04 10:37:19 +02:00
parent d18c6c9985
commit b593d871a6
+5
View File
@@ -601,6 +601,11 @@ void checkSwitches()
}
if (potMode) {
for (uint8_t i=0; i<NUM_POTS; i++) {
#if !defined(REVPLUS)
if (i == POT3-POT1) {
continue;
}
#endif
if (!(g_model.nPotsToWarn & (1 << i))) {
uint8_t flags = 0;
if (abs(g_model.potPosition[i] - GET_LOWRES_POT_POSITION(i)) > 1) {