summaryrefslogtreecommitdiffstats
path: root/quantum/audio/luts.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/audio/luts.h')
-rw-r--r--quantum/audio/luts.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/quantum/audio/luts.h b/quantum/audio/luts.h
index 155e34e88d..a377a6c870 100644
--- a/quantum/audio/luts.h
+++ b/quantum/audio/luts.h
@@ -14,9 +14,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <avr/io.h>
-#include <avr/interrupt.h>
-#include <avr/pgmspace.h>
+#if defined(__AVR__)
+ #include <avr/io.h>
+ #include <avr/interrupt.h>
+ #include <avr/pgmspace.h>
+#else
+ #include "ch.h"
+ #include "hal.h"
+#endif
#ifndef LUTS_H
#define LUTS_H