diff options
author | milestogo <milestogo@users.noreply.github.com> | 2017-03-09 00:50:46 +0100 |
---|---|---|
committer | milestogo <milestogo@users.noreply.github.com> | 2017-03-09 00:50:46 +0100 |
commit | ffb04bad660ba7c487e4b923e4391b6c7dd5eddd (patch) | |
tree | de8446b9b4d62611b7ff7c99394cbdb73ffe558e /quantum/audio | |
parent | 1622d7147b1647a7e0da47386c919a5a95cd1a29 (diff) | |
parent | bfa7e6ce04624f624cb8925cd5b5490801ced738 (diff) | |
download | qmk_firmware-ffb04bad660ba7c487e4b923e4391b6c7dd5eddd.tar.gz qmk_firmware-ffb04bad660ba7c487e4b923e4391b6c7dd5eddd.tar.xz |
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'quantum/audio')
-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 8326e91ea..c2edb75f0 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) { |