better lcd printing for IP address

flash: -46
RAM: 0
This commit is contained in:
Alex Voinea 2022-02-10 23:48:22 +01:00
parent 4e798c9ed1
commit 7d72f0ee2e

View File

@ -1737,7 +1737,7 @@ static void lcd_support_menu()
if (((menu_item - 1) == menu_line) && lcd_draw_update) {
lcd_set_cursor(2, menu_row);
ip4_to_str(_md->ip_str, (uint8_t*)(&_md->ip));
lcd_printf_P(PSTR("%s"), _md->ip_str);
lcd_print(_md->ip_str);
}
}
@ -1750,7 +1750,7 @@ static void lcd_support_menu()
if (((menu_item - 1) == menu_line) && lcd_draw_update) {
lcd_set_cursor(2, menu_row);
ip4_to_str(_md->ip_str, (uint8_t*)(&IP_address));
lcd_printf_P(PSTR("%s"), _md->ip_str);
lcd_print(_md->ip_str);
}
}