Reintroduced ':' character in 10x14 font. Removed dead code in comments.
This commit is contained in:
+3
-2
@@ -116,13 +116,14 @@ void lcd_putcAtt(xcoord_t x, uint8_t y, const unsigned char c, LcdFlags flags)
|
||||
c_remapped = c - 'A' + 11;
|
||||
else if( c>='a' && c <='z')
|
||||
c_remapped = c - 'a' + 37;
|
||||
else if( c==':')
|
||||
c_remapped = 63;
|
||||
else
|
||||
c_remapped = 0;
|
||||
|
||||
/* each letter consists of ten top bytes followed by
|
||||
* by ten bottom bytes (20 bytes per * char) */
|
||||
q = &font_10x14[((uint16_t)c_remapped)*20];
|
||||
// q = &font_10x14[((uint16_t)c - 0x20)*20];
|
||||
q = &font_10x14[c_remapped * 20];
|
||||
for (int8_t i=11; i>=0; i--) {
|
||||
if (flags & CONDENSED && i<=1) break;
|
||||
uint8_t b1=0, b2=0;
|
||||
|
||||
Reference in New Issue
Block a user