optimisation: lcd_putc_at in belt test

Change in memory:
Flash: -4 bytes
SRAM: 0 bytes
This commit is contained in:
Guðni Már Gilbert 2023-04-15 11:19:52 +00:00
parent 583c46a63f
commit 87e40f1cee
1 changed files with 1 additions and 2 deletions

View File

@ -5932,8 +5932,7 @@ void lcd_belttest()
{
Y = eeprom_read_word((uint16_t*)(EEPROM_BELTSTATUS_Y));
lcd_set_cursor(10,3),lcd_printf_P(PSTR("%u"),Y);
lcd_set_cursor(19, 3);
lcd_print(LCD_STR_UPLEVEL[0]);
lcd_putc_at(19, 3, LCD_STR_UPLEVEL[0]);
lcd_wait_for_click_delay(10);
}
}