Reintroduced ':' character in 10x14 font. Removed dead code in comments.

This commit is contained in:
kjell.kernen@gmail.com
2013-06-11 09:05:03 +00:00
parent 01033837da
commit 5701c029db
4 changed files with 13 additions and 28 deletions
+3 -2
View File
@@ -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;