From 2cb5586fd6f757de525f01ee340a33b3bd7aa37f Mon Sep 17 00:00:00 2001 From: mhotar Date: Sun, 15 Dec 2013 18:26:02 +0100 Subject: [PATCH] Tab function in the strings \037 will help to align columns for different font types --- radio/src/lcd.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radio/src/lcd.cpp b/radio/src/lcd.cpp index 7097719ab..6aa7eebcd 100644 --- a/radio/src/lcd.cpp +++ b/radio/src/lcd.cpp @@ -358,6 +358,10 @@ void lcd_putsnAtt(xcoord_t x, uint8_t y, const pm_char * s, uint8_t len, LcdFlag lcd_putcAtt(x, y, c, mode); x += lcdLastFW; } + else if (c == 0x1F) { + x++; + x |= 0x0F; + } else { x += (c*FW/2); }