diff options
Diffstat (limited to 'quantum/audio/audio_avr.c')
| -rw-r--r-- | quantum/audio/audio_avr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/quantum/audio/audio_avr.c b/quantum/audio/audio_avr.c index 781378788..5a96bf643 100644 --- a/quantum/audio/audio_avr.c +++ b/quantum/audio/audio_avr.c | |||
| @@ -110,6 +110,11 @@ | |||
| 110 | # define TIMER_1_DUTY_CYCLE OCR1C | 110 | # define TIMER_1_DUTY_CYCLE OCR1C |
| 111 | # define TIMER1_AUDIO_vect TIMER1_COMPC_vect | 111 | # define TIMER1_AUDIO_vect TIMER1_COMPC_vect |
| 112 | #endif | 112 | #endif |
| 113 | |||
| 114 | #if !defined(BPIN_AUDIO) && !defined(CPIN_AUDIO) | ||
| 115 | # error "Audio feature enabled, but no suitable pin selected - see docs/feature_audio.md under the AVR settings for available options." | ||
| 116 | #endif | ||
| 117 | |||
| 113 | // ----------------------------------------------------------------------------- | 118 | // ----------------------------------------------------------------------------- |
| 114 | 119 | ||
| 115 | int voices = 0; | 120 | int voices = 0; |
