]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - quantum/audio/voices.c
fix travis and reduce warnings
[qmk_firmware.git] / quantum / audio / voices.c
index 8326e91eaaa0a0cd1d512bf98dcad781fdff29c5..c2edb75f01b847f7b6c849fc2c9d4a7f73f7d1a1 100644 (file)
@@ -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) {