aboutsummaryrefslogtreecommitdiff
path: root/keyboards/comet46/lib
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/comet46/lib')
-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