0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-04-29 06:41:25 +03:00

Fix font mishap

This commit is contained in:
OneOfEleven 2023-09-24 01:45:51 +01:00
parent b2015430ea
commit ad33875b7a
2 changed files with 4 additions and 4 deletions

4
font.c
View File

@ -165,7 +165,7 @@ const uint8_t gFontSmallDigits[11][7] =
{0x00, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00} // '-' {0x00, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00} // '-'
}; };
*/ */
const uint8_t gFontSmall[95][7] = const uint8_t gFontSmall[95][6] =
{ {
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // ' ' {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // ' '
{0x00, 0x00, 0x5E, 0x00, 0x00, 0x00}, // '!' {0x00, 0x00, 0x5E, 0x00, 0x00, 0x00}, // '!'
@ -265,7 +265,7 @@ const uint8_t gFontSmall[95][7] =
}; };
#ifdef ENABLE_SMALL_BOLD #ifdef ENABLE_SMALL_BOLD
const uint8_t gFontSmallBold[95][7] = const uint8_t gFontSmallBold[95][6] =
{ {
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x00, 0x00, 0x5E, 0x5E, 0x00, 0x00}, {0x00, 0x00, 0x5E, 0x5E, 0x00, 0x00},

4
font.h
View File

@ -23,9 +23,9 @@
extern const uint8_t gFontBig[95][15]; extern const uint8_t gFontBig[95][15];
extern const uint8_t gFontBigDigits[11][26]; extern const uint8_t gFontBigDigits[11][26];
//extern const uint8_t gFontSmallDigits[11][7]; //extern const uint8_t gFontSmallDigits[11][7];
extern const uint8_t gFontSmall[95][7]; extern const uint8_t gFontSmall[95][6];
#ifdef ENABLE_SMALL_BOLD #ifdef ENABLE_SMALL_BOLD
extern const uint8_t gFontSmallBold[95][7]; extern const uint8_t gFontSmallBold[95][6];
#endif #endif
#endif #endif