diff options
Diffstat (limited to 'quantum/audio/audio.h')
| -rw-r--r-- | quantum/audio/audio.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/quantum/audio/audio.h b/quantum/audio/audio.h index 79e0da229..da09b2bcd 100644 --- a/quantum/audio/audio.h +++ b/quantum/audio/audio.h | |||
| @@ -18,12 +18,15 @@ | |||
| 18 | 18 | ||
| 19 | #include <stdint.h> | 19 | #include <stdint.h> |
| 20 | #include <stdbool.h> | 20 | #include <stdbool.h> |
| 21 | #include <avr/io.h> | 21 | #if defined(__AVR__) |
| 22 | #include <util/delay.h> | 22 | #include <avr/io.h> |
| 23 | #endif | ||
| 24 | #include "wait.h" | ||
| 23 | #include "musical_notes.h" | 25 | #include "musical_notes.h" |
| 24 | #include "song_list.h" | 26 | #include "song_list.h" |
| 25 | #include "voices.h" | 27 | #include "voices.h" |
| 26 | #include "quantum.h" | 28 | #include "quantum.h" |
| 29 | #include <math.h> | ||
| 27 | 30 | ||
| 28 | // Largely untested PWM audio mode (doesn't sound as good) | 31 | // Largely untested PWM audio mode (doesn't sound as good) |
| 29 | // #define PWM_AUDIO | 32 | // #define PWM_AUDIO |
