summaryrefslogtreecommitdiffstats
path: root/quantum/audio
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-06-27 20:35:08 +0200
committerJack Humbert <jack.humb@gmail.com>2017-06-27 20:35:08 +0200
commitea7590c8940bc85f8a83bd42b1e01bc1431c104b (patch)
treef3c2b71269e6ff64dd3c427d0f8a7e27f2900201 /quantum/audio
parent9f5b4e1d7a37f873acbc19b8385964121566653e (diff)
downloadqmk_firmware-ea7590c8940bc85f8a83bd42b1e01bc1431c104b.tar.gz
qmk_firmware-ea7590c8940bc85f8a83bd42b1e01bc1431c104b.tar.xz
add new arguements, docs
Diffstat (limited to 'quantum/audio')
-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) {
#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) {