summaryrefslogtreecommitdiff
path: root/quantum/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/audio.c')
-rw-r--r--quantum/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/audio.c b/quantum/audio.c
index 40d09d62f..773edfd8e 100644
--- a/quantum/audio.c
+++ b/quantum/audio.c
@@ -318,7 +318,7 @@ ISR(TIMER3_COMPA_vect) {
return;
}
}
- if (!note_resting && ((int)notes_rest != 0)) {
+ if (!note_resting && (notes_rest > 0)) {
note_resting = true;
note_frequency = 0;
note_length = notes_rest;