[Horus] Pots included in inputsMoved(...) function

This commit is contained in:
Bertrand Songis
2016-04-10 14:26:15 +02:00
parent 7247a511cf
commit bbc2e11cca
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -307,7 +307,8 @@ void drawHorizontalSlider(coord_t x, coord_t y, int len, int val, int min, int m
}
else if (options & OPTION_SLIDER_NUMBER_BUTTON) {
drawTrimSquare(x, y - 1);
lcdDrawChar(x + 2, y, '0' + val, SMLSIZE | TEXT_INVERTED_COLOR);
char text[] = { (char)('0' + val), '\0' };
lcdDrawText(x + 5, y - 1, text, SMLSIZE | CENTERED | TEXT_INVERTED_COLOR);
}
else if (options & OPTION_SLIDER_SQUARE_BUTTON) {
drawTrimSquare(x, y - 1);