diff options
author | Joel Challis <git@zvecr.com> | 2021-07-24 19:56:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-24 19:56:45 +0100 |
commit | b5bcd5b0a18079df1252a718588255c62d24a054 (patch) | |
tree | 886b84473e94718fed4de18a6d6c5b5b9e46eb89 /quantum/audio/luts.h | |
parent | 145d89ab9192d08b7e22a14105d27988944b7b0c (diff) | |
download | qmk_firmware-b5bcd5b0a18079df1252a718588255c62d24a054.tar.gz qmk_firmware-b5bcd5b0a18079df1252a718588255c62d24a054.zip |
Refactor some platform dependent logic (#13675)
Diffstat (limited to 'quantum/audio/luts.h')
-rw-r--r-- | quantum/audio/luts.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/quantum/audio/luts.h b/quantum/audio/luts.h index 74980b292..8bb045449 100644 --- a/quantum/audio/luts.h +++ b/quantum/audio/luts.h | |||
@@ -16,14 +16,8 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #if defined(__AVR__) | 19 | #include <float.h> |
20 | # include <avr/io.h> | 20 | #include <stdint.h> |
21 | # include <avr/interrupt.h> | ||
22 | # include <avr/pgmspace.h> | ||
23 | #else | ||
24 | # include <ch.h> | ||
25 | # include <hal.h> | ||
26 | #endif | ||
27 | 21 | ||
28 | #define VIBRATO_LUT_LENGTH 20 | 22 | #define VIBRATO_LUT_LENGTH 20 |
29 | 23 | ||