diff options
Diffstat (limited to 'keyboards/cu75/cu75.h')
-rw-r--r-- | keyboards/cu75/cu75.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/keyboards/cu75/cu75.h b/keyboards/cu75/cu75.h index 5abce8fcd..7774187b4 100644 --- a/keyboards/cu75/cu75.h +++ b/keyboards/cu75/cu75.h | |||
@@ -1,26 +1,10 @@ | |||
1 | #ifndef CU75_H | 1 | #ifndef CU75_H |
2 | #define CU75_H | 2 | #define CU75_H |
3 | 3 | ||
4 | /* if the kb.h file exists (because we're running from qmkbuilder) include it */ | ||
5 | #ifdef __has_include | ||
6 | #if __has_include("kb.h") | ||
7 | #include "kb.h" | ||
8 | #endif | ||
9 | #endif | ||
10 | |||
11 | #include "quantum.h" | 4 | #include "quantum.h" |
12 | #include "matrix.h" | 5 | #include "matrix.h" |
13 | #include <avr/sfr_defs.h> | 6 | #include <avr/sfr_defs.h> |
14 | 7 | ||
15 | #ifndef cbi | ||
16 | #define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit)) | ||
17 | #endif | ||
18 | |||
19 | #ifndef sbi | ||
20 | #define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit)) | ||
21 | #endif | ||
22 | |||
23 | |||
24 | typedef struct RGB_Color { | 8 | typedef struct RGB_Color { |
25 | uint16_t red; | 9 | uint16_t red; |
26 | uint16_t green; | 10 | uint16_t green; |