diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-06-27 15:28:13 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-06-27 15:28:13 -0400 |
commit | 7d28a417c035b66529d7f6d49479fe4c22737134 (patch) | |
tree | 915375855e8a8d667f2071391dc56a390db52854 /quantum/audio | |
parent | ea7590c8940bc85f8a83bd42b1e01bc1431c104b (diff) |
don't let timer1 exist without b5 being enabled
Diffstat (limited to 'quantum/audio')
-rw-r--r-- | quantum/audio/audio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/audio/audio.c b/quantum/audio/audio.c index 3192d500f5..c924f2bd58 100644 --- a/quantum/audio/audio.c +++ b/quantum/audio/audio.c @@ -442,6 +442,7 @@ ISR(TIMER3_COMPA_vect) } #endif +#ifdef B5_AUDIO ISR(TIMER1_COMPA_vect) { #if defined(B5_AUDIO) && !defined(C6_AUDIO) @@ -572,6 +573,7 @@ ISR(TIMER1_COMPA_vect) } #endif } +#endif void play_note(float freq, int vol) { |