From 75e0ba9fb349d795ce368184adaea6b3ed192128 Mon Sep 17 00:00:00 2001 From: Dual Tachyon Date: Tue, 29 Aug 2023 02:16:51 +0100 Subject: [PATCH] Added missing 11th small digit. --- font.c | 3 ++- font.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/font.c b/font.c index 8612e8e..1df9e4f 100644 --- a/font.c +++ b/font.c @@ -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 }, }; -const uint8_t gFontSmallDigits[10][7] = { +const uint8_t gFontSmallDigits[11][7] = { { 0x00, 0x3E, 0x41, 0x41, 0x41, 0x41, 0x3E }, { 0x00, 0x00, 0x42, 0x7F, 0x40, 0x00, 0x00 }, { 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, 0x36, 0x49, 0x49, 0x49, 0x49, 0x36 }, { 0x00, 0x46, 0x49, 0x49, 0x49, 0x29, 0x1E }, + { 0x00, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00 }, }; diff --git a/font.h b/font.h index 8c52df7..a64758c 100644 --- a/font.h +++ b/font.h @@ -21,7 +21,7 @@ extern const uint8_t gFontBig[95][16]; extern const uint8_t gFontBigDigits[11][26]; -extern const uint8_t gFontSmallDigits[10][7]; +extern const uint8_t gFontSmallDigits[11][7]; #endif