aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/audio/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/audio/audio.c')
-rw-r--r--quantum/audio/audio.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/quantum/audio/audio.c b/quantum/audio/audio.c
index e85326ff4..e08233486 100644
--- a/quantum/audio/audio.c
+++ b/quantum/audio/audio.c
@@ -17,9 +17,11 @@
#include <stdio.h>
#include <string.h>
//#include <math.h>
-#include <avr/pgmspace.h>
-#include <avr/interrupt.h>
-#include <avr/io.h>
+#if defined(__AVR__)
+ #include <avr/pgmspace.h>
+ #include <avr/interrupt.h>
+ #include <avr/io.h>
+#endif
#include "print.h"
#include "audio.h"
#include "keymap.h"