aboutsummaryrefslogtreecommitdiff
path: root/quantum/audio/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/audio/audio.c')
-rw-r--r--quantum/audio/audio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/quantum/audio/audio.c b/quantum/audio/audio.c
index 04f346003..3192d500f 100644
--- a/quantum/audio/audio.c
+++ b/quantum/audio/audio.c
@@ -271,12 +271,13 @@ float vibrato(float average_freq) {
271#ifdef C6_AUDIO 271#ifdef C6_AUDIO
272ISR(TIMER3_COMPA_vect) 272ISR(TIMER3_COMPA_vect)
273{ 273{
274 float freq, freq_alt = 0; 274 float freq;
275 275
276 if (playing_note) { 276 if (playing_note) {
277 if (voices > 0) { 277 if (voices > 0) {
278 278
279 #ifdef B5_AUDIO 279 #ifdef B5_AUDIO
280 float freq_alt = 0;
280 if (voices > 1) { 281 if (voices > 1) {
281 if (polyphony_rate == 0) { 282 if (polyphony_rate == 0) {
282 if (glissando) { 283 if (glissando) {