From 7d72f0ee2ec07a80107195861b9e8340e872856d Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Thu, 10 Feb 2022 23:48:22 +0100 Subject: [PATCH] better lcd printing for IP address flash: -46 RAM: 0 --- Firmware/ultralcd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index a27515f0..414f570b 100755 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -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); } }