Fix bug with uint8_t not shown correctly on LCD

Change in memory:
Flash: +8 bytes
SRAM: 0 bytes
This commit is contained in:
Guðni Már Gilbert 2023-04-11 17:56:27 +00:00
parent 7e18e88cbe
commit 53e3193252
1 changed files with 1 additions and 1 deletions

View File

@ -439,7 +439,7 @@ void menu_draw_P(char chr, const char* str, T val)
} else { // 3 digits
lcd_set_cursor_column(LCD_WIDTH - 3);
}
lcd_print(val);
lcd_print(val, DEC);
}
template void menu_draw_P<int16_t>(char chr, const char* str, int16_t val);