From 79d992d1e7b4fc3615a0d01b8b3186cdb83e6a14 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 10 Dec 2020 13:07:08 +1100 Subject: Use progmem.h for claw44 glcdfont (#11164) --- keyboards/claw44/lib/glcdfont.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'keyboards/claw44') 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 - #include -#elif defined(ESP8266) - #include -#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 -- cgit v1.2.3