[X9D] Different fix

This commit is contained in:
Bertrand Songis
2019-10-07 14:28:00 +02:00
parent f78dbafa17
commit a08c391f93
6 changed files with 7 additions and 20 deletions
-2
View File
@@ -172,10 +172,8 @@ void drawSliders()
coord_t x = ((i==SLIDER1 || i==SLIDER3) ? 3 : LCD_W-5);
int8_t y = (i<SLIDER3 ? LCD_H/2+1 : 1);
#else
#if defined(HARDWARE_POT3)
if (i == POT3)
continue;
#endif
coord_t x = ((i==POT1 || i==SLIDER1) ? 3 : LCD_W-5);
int8_t y = (i>=SLIDER1 ? LCD_H/2+1 : 1);
#endif