|
|
|
@ -1018,7 +1018,7 @@ draw_numeric_input(const char *buf)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
uint16_t i;
|
|
|
|
uint16_t i;
|
|
|
|
uint16_t x = 10 + 10 * FONT_WIDTH + 4;
|
|
|
|
uint16_t x = 10 + 10 * FONT_WIDTH + 4;
|
|
|
|
uint16_t xsim = 0b00100100100100100 >>(2-(period_pos()%3));
|
|
|
|
uint16_t xsim = (0b00100100100100100 >>(2-(period_pos()%3)))&(~1);
|
|
|
|
ili9341_set_foreground(LCD_INPUT_TEXT_COLOR);
|
|
|
|
ili9341_set_foreground(LCD_INPUT_TEXT_COLOR);
|
|
|
|
ili9341_set_background(LCD_INPUT_BG_COLOR);
|
|
|
|
ili9341_set_background(LCD_INPUT_BG_COLOR);
|
|
|
|
for (i = 0; buf[i]; i++) {
|
|
|
|
for (i = 0; buf[i]; i++) {
|
|
|
|
|