summaryrefslogtreecommitdiffstats
path: root/quantum/audio/voices.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/audio/voices.h')
-rw-r--r--quantum/audio/voices.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/quantum/audio/voices.h b/quantum/audio/voices.h
index 9403a6b5e7..1cf33095a4 100644
--- a/quantum/audio/voices.h
+++ b/quantum/audio/voices.h
@@ -15,8 +15,10 @@
*/
#include <stdint.h>
#include <stdbool.h>
-#include <avr/io.h>
-#include <util/delay.h>
+#if defined(__AVR__)
+ #include <avr/io.h>
+#endif
+#include "wait.h"
#include "luts.h"
#ifndef VOICES_H