Added missing 11th small digit.

This commit is contained in:
Dual Tachyon 2023-08-29 02:16:51 +01:00
parent 116025f08b
commit 75e0ba9fb3
2 changed files with 3 additions and 2 deletions

3
font.c
View File

@ -128,7 +128,7 @@ const uint8_t gFontBigDigits[11][26] = {
{ 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00 }, { 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00 },
}; };
const uint8_t gFontSmallDigits[10][7] = { const uint8_t gFontSmallDigits[11][7] = {
{ 0x00, 0x3E, 0x41, 0x41, 0x41, 0x41, 0x3E }, { 0x00, 0x3E, 0x41, 0x41, 0x41, 0x41, 0x3E },
{ 0x00, 0x00, 0x42, 0x7F, 0x40, 0x00, 0x00 }, { 0x00, 0x00, 0x42, 0x7F, 0x40, 0x00, 0x00 },
{ 0x00, 0x62, 0x51, 0x51, 0x49, 0x49, 0x46 }, { 0x00, 0x62, 0x51, 0x51, 0x49, 0x49, 0x46 },
@ -139,5 +139,6 @@ const uint8_t gFontSmallDigits[10][7] = {
{ 0x00, 0x01, 0x71, 0x09, 0x05, 0x03, 0x00 }, { 0x00, 0x01, 0x71, 0x09, 0x05, 0x03, 0x00 },
{ 0x00, 0x36, 0x49, 0x49, 0x49, 0x49, 0x36 }, { 0x00, 0x36, 0x49, 0x49, 0x49, 0x49, 0x36 },
{ 0x00, 0x46, 0x49, 0x49, 0x49, 0x29, 0x1E }, { 0x00, 0x46, 0x49, 0x49, 0x49, 0x29, 0x1E },
{ 0x00, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00 },
}; };

2
font.h
View File

@ -21,7 +21,7 @@
extern const uint8_t gFontBig[95][16]; extern const uint8_t gFontBig[95][16];
extern const uint8_t gFontBigDigits[11][26]; extern const uint8_t gFontBigDigits[11][26];
extern const uint8_t gFontSmallDigits[10][7]; extern const uint8_t gFontSmallDigits[11][7];
#endif #endif