aboutsummaryrefslogtreecommitdiff
path: root/keyboards/claw44
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-12-10 13:07:08 +1100
committerGitHub <noreply@github.com>2020-12-10 13:07:08 +1100
commit79d992d1e7b4fc3615a0d01b8b3186cdb83e6a14 (patch)
tree14c0bc41d93c1298010a60b2e1267affbbd5fa46 /keyboards/claw44
parentcd67074f72119c70ab91bf64d1c5bff60dcf2f91 (diff)
downloadqmk_firmware-79d992d1e7b4fc3615a0d01b8b3186cdb83e6a14.tar.gz
qmk_firmware-79d992d1e7b4fc3615a0d01b8b3186cdb83e6a14.zip
Use progmem.h for claw44 glcdfont (#11164)
Diffstat (limited to 'keyboards/claw44')
-rw-r--r--keyboards/claw44/lib/glcdfont.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/keyboards/claw44/lib/glcdfont.c b/keyboards/claw44/lib/glcdfont.c
index 91f53d9c2..9fa1c806a 100644
--- a/keyboards/claw44/lib/glcdfont.c
+++ b/keyboards/claw44/lib/glcdfont.c
@@ -1,17 +1,7 @@
1// This is the 'classic' fixed-space bitmap font for Adafruit_GFX since 1.0. 1// This is the 'classic' fixed-space bitmap font for Adafruit_GFX since 1.0.
2// See gfxfont.h for newer custom bitmap font info. 2// See gfxfont.h for newer custom bitmap font info.
3 3
4#ifndef FONT5X7_H 4#include "progmem.h"
5#define FONT5X7_H
6
7#ifdef __AVR__
8 #include <avr/io.h>
9 #include <avr/pgmspace.h>
10#elif defined(ESP8266)
11 #include <pgmspace.h>
12#else
13 #define PROGMEM
14#endif
15 5
16// Standard ASCII 5x7 font 6// Standard ASCII 5x7 font
17const unsigned char font[] PROGMEM = { 7const unsigned char font[] PROGMEM = {
@@ -240,4 +230,3 @@ const unsigned char font[] PROGMEM = {
2400x00, 0x00, 0x00, 0x00, 0x00, 0x00, 2300x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2410x00, 0x00, 0x00, 0x00, 0x00, 0x00, 2310x00, 0x00, 0x00, 0x00, 0x00, 0x00,
242}; 232};
243#endif // FONT5X7_H