summaryrefslogtreecommitdiffstats
path: root/keyboards
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
parentcd67074f72119c70ab91bf64d1c5bff60dcf2f91 (diff)
Use progmem.h for claw44 glcdfont (#11164)
Diffstat (limited to 'keyboards')
-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 91f53d9c24..9fa1c806aa 100644
--- a/keyboards/claw44/lib/glcdfont.c
+++ b/keyboards/claw44/lib/glcdfont.c
@@ -1,17 +1,7 @@
// This is the 'classic' fixed-space bitmap font for Adafruit_GFX since 1.0.
// See gfxfont.h for newer custom bitmap font info.
-#ifndef FONT5X7_H
-#define FONT5X7_H
-
-#ifdef __AVR__
- #include <avr/io.h>
- #include <avr/pgmspace.h>
-#elif defined(ESP8266)
- #include <pgmspace.h>
-#else
- #define PROGMEM
-#endif
+#include "progmem.h"
// Standard ASCII 5x7 font
const unsigned char font[] PROGMEM = {
@@ -240,4 +230,3 @@ const unsigned char font[] PROGMEM = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
-#endif // FONT5X7_H