diff options
author | Damien <Dbroqua@users.noreply.github.com> | 2017-03-05 22:58:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-05 22:58:13 +0100 |
commit | 24ec8f509703cbaf9de7b41d251dbb7fcd339559 (patch) | |
tree | 90f4f9adf406d92c6817c412256904a97c716daf /quantum/audio/voices.c | |
parent | b7b94bfb132aa5f2f79b587fcfa6b1197485db27 (diff) | |
parent | 615bfc4eca8204b73c592a076ca02aeaeceb7e1e (diff) |
Merge pull request #18 from qmk/master
Merge from qmk
Diffstat (limited to 'quantum/audio/voices.c')
-rw-r--r-- | quantum/audio/voices.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/audio/voices.c b/quantum/audio/voices.c index 8326e91eaa..c2edb75f01 100644 --- a/quantum/audio/voices.c +++ b/quantum/audio/voices.c @@ -24,6 +24,7 @@ void voice_deiterate() { float voice_envelope(float frequency) { // envelope_index ranges from 0 to 0xFFFF, which is preserved at 880.0 Hz + __attribute__ ((unused)) uint16_t compensated_index = (uint16_t)((float)envelope_index * (880.0 / frequency)); switch (voice) { |