aboutsummaryrefslogtreecommitdiff
path: root/keyboards/claw44/lib/glcdfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/claw44/lib/glcdfont.c')
-rw-r--r--keyboards/claw44/lib/glcdfont.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/keyboards/claw44/lib/glcdfont.c b/keyboards/claw44/lib/glcdfont.c
index 9fa1c806a..91f53d9c2 100644
--- a/keyboards/claw44/lib/glcdfont.c
+++ b/keyboards/claw44/lib/glcdfont.c
@@ -1,7 +1,17 @@
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#include "progmem.h" 4#ifndef FONT5X7_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
5 15
6// Standard ASCII 5x7 font 16// Standard ASCII 5x7 font
7const unsigned char font[] PROGMEM = { 17const unsigned char font[] PROGMEM = {
@@ -230,3 +240,4 @@ const unsigned char font[] PROGMEM = {
2300x00, 0x00, 0x00, 0x00, 0x00, 0x00, 2400x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2310x00, 0x00, 0x00, 0x00, 0x00, 0x00, 2410x00, 0x00, 0x00, 0x00, 0x00, 0x00,
232}; 242};
243#endif // FONT5X7_H