summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-06-27 14:35:08 -0400
committerJack Humbert <jack.humb@gmail.com>2017-06-27 14:35:08 -0400
commitea7590c8940bc85f8a83bd42b1e01bc1431c104b (patch)
treef3c2b71269e6ff64dd3c427d0f8a7e27f2900201 /quantum
parent9f5b4e1d7a37f873acbc19b8385964121566653e (diff)
add new arguements, docs
Diffstat (limited to 'quantum')
-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 04f3460033..3192d500f5 100644
--- a/quantum/audio/audio.c
+++ b/quantum/audio/audio.c
@@ -271,12 +271,13 @@ float vibrato(float average_freq) {
#ifdef C6_AUDIO
ISR(TIMER3_COMPA_vect)
{
- float freq, freq_alt = 0;
+ float freq;
if (playing_note) {
if (voices > 0) {
#ifdef B5_AUDIO
+ float freq_alt = 0;
if (voices > 1) {
if (polyphony_rate == 0) {
if (glissando) {