From 1e3368ac2eefb758a0e9fdadd09f0229240b3cb1 Mon Sep 17 00:00:00 2001 From: OneOfEleven Date: Sun, 10 Sep 2023 05:59:28 +0100 Subject: [PATCH] Nicer '0' --- firmware | Bin 167812 -> 167812 bytes firmware.bin | Bin 56332 -> 56332 bytes firmware.packed.bin | Bin 56350 -> 56350 bytes font.c | 9 +++++---- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/firmware b/firmware index 1b34bcb1021287305218908d244cad5beb7375b4..b5ce29872ac58f64b08acb36ce6ba35bee788440 100644 GIT binary patch delta 21 dcmZpf&($)Yt6>Xc>nUbON5}0Qrx^bn0RUg<32y)Z delta 21 dcmZpf&($)Yt6>Xc>nY|yPuJ}orx^bn0RUjs35x&# diff --git a/firmware.bin b/firmware.bin index 02d232ccec5c57169c426e0415ea3a376fe7ce59..3b53ad47d54800efda475d9a289ea1a061e45dca 100644 GIT binary patch delta 18 ZcmeC#!Q8Whc|+?dW=BWI%^jy&1OZJR2krm> delta 18 ZcmeC#!Q8Whc|+?d=0H!^%^jy&1OZL%2nqlI diff --git a/firmware.packed.bin b/firmware.packed.bin index e779e9dff8f9ab338a8ca967dbc4d38005eda9a6..d393f8484f61549219b6c23cec7113ec77ba5491 100644 GIT binary patch delta 21 dcmbQYgL&Q#<_%L%F|SQoxOv8@7D1+CUjTI83f%wz delta 21 dcmbQYgL&Q#<_%L%G4IV;x_QQ_7D1+#ivV?73X}i< diff --git a/font.c b/font.c index d78ea1c..1bf62ac 100644 --- a/font.c +++ b/font.c @@ -145,7 +145,7 @@ const uint8_t gFontSmallDigits[11][7] = { // ASCII 5x7 font const uint8_t gFont5x7[5 * 16 * 6] = { - 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, // ' ' 0x00, 0x00, 0x5F, 0x00, 0x00, 0x00, 0x07, 0x00, 0x07, 0x00, 0x14, 0x7F, 0x14, 0x7F, 0x14, @@ -162,7 +162,8 @@ const uint8_t gFont5x7[5 * 16 * 6] = 0x00, 0x00, 0x60, 0x60, 0x00, 0x20, 0x10, 0x08, 0x04, 0x02, - 0x3E, 0x51, 0x49, 0x45, 0x3E, +// 0x3E, 0x51, 0x49, 0x45, 0x3E, // '0' + 0x3E, 0x41, 0x41, 0x41, 0x3E, // '0' 0x00, 0x42, 0x7F, 0x40, 0x00, 0x72, 0x49, 0x49, 0x49, 0x46, 0x21, 0x41, 0x49, 0x4D, 0x33, @@ -179,8 +180,8 @@ const uint8_t gFont5x7[5 * 16 * 6] = 0x00, 0x41, 0x22, 0x14, 0x08, 0x02, 0x01, 0x59, 0x09, 0x06, - 0x3E, 0x41, 0x5D, 0x59, 0x4E, - 0x7C, 0x12, 0x11, 0x12, 0x7C, // #65 'A' + 0x3E, 0x41, 0x5D, 0x59, 0x4E, // '@' + 0x7C, 0x12, 0x11, 0x12, 0x7C, // 'A' 0x7F, 0x49, 0x49, 0x49, 0x36, 0x3E, 0x41, 0x41, 0x41, 0x22, 0x7F, 0x41, 0x41, 0x41, 0x3E,