diff options
| author | yfuku <30647434+yfuku@users.noreply.github.com> | 2020-11-10 14:07:12 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-10 16:07:12 +1100 |
| commit | 7595f538562437fa6d13ede5be7a5a4b5d582c6b (patch) | |
| tree | 8649d7399f8f5c5699a7a07cb85a38840d73cf3c /keyboards/claw44/lib/glcdfont.c | |
| parent | 8af767cb1d36222a4d0ec8286d346d4896e923d4 (diff) | |
| download | qmk_firmware-7595f538562437fa6d13ede5be7a5a4b5d582c6b.tar.gz qmk_firmware-7595f538562437fa6d13ede5be7a5a4b5d582c6b.zip | |
refactor SPLIT_KEYBOARD, OLED_DRIVER_ENABLE (#10405)
Diffstat (limited to 'keyboards/claw44/lib/glcdfont.c')
| -rw-r--r-- | keyboards/claw44/lib/glcdfont.c | 13 |
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 |
| 7 | const unsigned char font[] PROGMEM = { | 17 | const unsigned char font[] PROGMEM = { |
| @@ -230,3 +240,4 @@ const unsigned char font[] PROGMEM = { | |||
| 230 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 240 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
| 231 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 241 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
| 232 | }; | 242 | }; |
| 243 | #endif // FONT5X7_H | ||
