diff options
Diffstat (limited to 'quantum/quantum.h')
| -rw-r--r-- | quantum/quantum.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h index 9b5d310bd..3a0b74202 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h | |||
| @@ -1,7 +1,12 @@ | |||
| 1 | #ifndef QUANTUM_H | 1 | #ifndef QUANTUM_H |
| 2 | #define QUANTUM_H | 2 | #define QUANTUM_H |
| 3 | 3 | ||
| 4 | #if defined(__AVR__) | ||
| 4 | #include <avr/pgmspace.h> | 5 | #include <avr/pgmspace.h> |
| 6 | #include <avr/io.h> | ||
| 7 | #include <avr/interrupt.h> | ||
| 8 | #endif | ||
| 9 | #include "wait.h" | ||
| 5 | #include "matrix.h" | 10 | #include "matrix.h" |
| 6 | #include "keymap.h" | 11 | #include "keymap.h" |
| 7 | #ifdef BACKLIGHT_ENABLE | 12 | #ifdef BACKLIGHT_ENABLE |
| @@ -14,12 +19,9 @@ | |||
| 14 | #include "action_layer.h" | 19 | #include "action_layer.h" |
| 15 | #include "eeconfig.h" | 20 | #include "eeconfig.h" |
| 16 | #include <stddef.h> | 21 | #include <stddef.h> |
| 17 | #include <avr/io.h> | ||
| 18 | #include <util/delay.h> | ||
| 19 | #include "bootloader.h" | 22 | #include "bootloader.h" |
| 20 | #include "timer.h" | 23 | #include "timer.h" |
| 21 | #include "config_common.h" | 24 | #include "config_common.h" |
| 22 | #include <avr/interrupt.h> | ||
| 23 | #include "led.h" | 25 | #include "led.h" |
| 24 | #include "action_util.h" | 26 | #include "action_util.h" |
| 25 | #include <stdlib.h> | 27 | #include <stdlib.h> |
