Skip to content

Commit

Permalink
Use progmem.h for claw44 glcdfont (qmk#11164)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Dec 10, 2020
1 parent cd67074 commit 79d992d
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions keyboards/claw44/lib/glcdfont.c
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down Expand Up @@ -240,4 +230,3 @@ const unsigned char font[] PROGMEM = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
#endif // FONT5X7_H

0 comments on commit 79d992d

Please sign in to comment.