aboutsummaryrefslogtreecommitdiff
path: root/keyboards/comet46
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-03-01 17:56:50 +1100
committerGitHub <noreply@github.com>2020-03-01 17:56:50 +1100
commitc9e3fa6f702d7b814c408f1476e43ce6cdd8f7d8 (patch)
tree14c44c3670da10f6e286ad4e14e6af2bc5cc015f /keyboards/comet46
parentf513a9193cdde47d1da7f647088beec8f280e4f3 (diff)
downloadqmk_firmware-c9e3fa6f702d7b814c408f1476e43ce6cdd8f7d8.tar.gz
qmk_firmware-c9e3fa6f702d7b814c408f1476e43ce6cdd8f7d8.zip
Clean up includes for glcdfont headers (#7745)
* Clean up includes for glcdfont headers * Remove pragma once, most of these are not headers * Missed these
Diffstat (limited to 'keyboards/comet46')
-rw-r--r--keyboards/comet46/lib/glcdfont.c13
-rw-r--r--keyboards/comet46/lib/keylogger.c8
2 files changed, 2 insertions, 19 deletions
diff --git a/keyboards/comet46/lib/glcdfont.c b/keyboards/comet46/lib/glcdfont.c
index e912d2233..361d0c3dc 100644
--- a/keyboards/comet46/lib/glcdfont.c
+++ b/keyboards/comet46/lib/glcdfont.c
@@ -1,17 +1,7 @@
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#ifndef FONT5X7_H 4#include "progmem.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
15 5
16// Standard ASCII 5x7 font 6// Standard ASCII 5x7 font
17 7
@@ -145,4 +135,3 @@ const unsigned char font[] PROGMEM = {
145 0x02, 0x01, 0x02, 0x04, 0x02, 0x00, 135 0x02, 0x01, 0x02, 0x04, 0x02, 0x00,
146 0x3C, 0x26, 0x23, 0x26, 0x3C, 0x00 136 0x3C, 0x26, 0x23, 0x26, 0x3C, 0x00
147}; 137};
148#endif // FONT5X7_H
diff --git a/keyboards/comet46/lib/keylogger.c b/keyboards/comet46/lib/keylogger.c
index 184f60109..a0abdd79a 100644
--- a/keyboards/comet46/lib/keylogger.c
+++ b/keyboards/comet46/lib/keylogger.c
@@ -1,11 +1,5 @@
1#include <stdio.h> 1#include <stdio.h>
2 2#include "progmem.h"
3#ifdef __AVR__
4 #include <avr/io.h>
5 #include <avr/pgmspace.h>
6#else
7 #define PROGMEM
8#endif
9 3
10#define NUM_USB_HID_KEYCODES 255 4#define NUM_USB_HID_KEYCODES 255
11#define LEN_KEYCODE_STR 4 5#define LEN_KEYCODE_STR 4