diff options
Diffstat (limited to 'tmk_core/common/magic.c')
-rw-r--r-- | tmk_core/common/magic.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tmk_core/common/magic.c b/tmk_core/common/magic.c index f21d1346c7..194e4cc026 100644 --- a/tmk_core/common/magic.c +++ b/tmk_core/common/magic.c @@ -1,6 +1,8 @@ #include <stdint.h> #include <stdbool.h> +#if defined(__AVR__) #include <util/delay.h> +#endif #include "matrix.h" #include "bootloader.h" #include "debug.h" @@ -33,4 +35,4 @@ void magic(void) default_layer = eeconfig_read_default_layer(); default_layer_set((uint32_t)default_layer); -}
\ No newline at end of file +} |