diff options
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/audio/voices.c | 1 | ||||
-rw-r--r-- | quantum/process_keycode/process_unicode_common.h | 1 |
2 files changed, 2 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() { | |||
24 | 24 | ||
25 | float voice_envelope(float frequency) { | 25 | float voice_envelope(float frequency) { |
26 | // envelope_index ranges from 0 to 0xFFFF, which is preserved at 880.0 Hz | 26 | // envelope_index ranges from 0 to 0xFFFF, which is preserved at 880.0 Hz |
27 | __attribute__ ((unused)) | ||
27 | uint16_t compensated_index = (uint16_t)((float)envelope_index * (880.0 / frequency)); | 28 | uint16_t compensated_index = (uint16_t)((float)envelope_index * (880.0 / frequency)); |
28 | 29 | ||
29 | switch (voice) { | 30 | switch (voice) { |
diff --git a/quantum/process_keycode/process_unicode_common.h b/quantum/process_keycode/process_unicode_common.h index 1f25eae7d..864693cdd 100644 --- a/quantum/process_keycode/process_unicode_common.h +++ b/quantum/process_keycode/process_unicode_common.h | |||
@@ -7,6 +7,7 @@ | |||
7 | #define UNICODE_TYPE_DELAY 10 | 7 | #define UNICODE_TYPE_DELAY 10 |
8 | #endif | 8 | #endif |
9 | 9 | ||
10 | __attribute__ ((unused)) | ||
10 | static uint8_t input_mode; | 11 | static uint8_t input_mode; |
11 | 12 | ||
12 | void set_unicode_input_mode(uint8_t os_target); | 13 | void set_unicode_input_mode(uint8_t os_target); |