This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
qmk_firmware
mirror of
https://github.com/qmk/qmk_firmware/
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1.6k
Wiki
Activity
Browse Source
increase size of note counter variable to avoid overflow
pull/5368/head
0.6.307
Marco Monaco
5 years ago
committed by
Drashna Jaelre
parent
dbfbe0d7f0
commit
73d8593352
3 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
quantum/audio/audio.c
+1
-1
quantum/audio/audio_arm.c
+1
-1
quantum/audio/audio_pwm.c
+ 1
- 1
quantum/audio/audio.c
View File
@ -141,7 +141,7 @@ uint16_t notes_count;
bool
notes_repeat
;
bool
note_resting
=
false
;
uint
8
_t
current_note
=
0
;
uint
16
_t
current_note
=
0
;
uint8_t
rest_counter
=
0
;
#
ifdef VIBRATO_ENABLE
+ 1
- 1
quantum/audio/audio_arm.c
View File
@ -54,7 +54,7 @@ uint16_t notes_count;
bool
notes_repeat
;
bool
note_resting
=
false
;
uint
8
_t
current_note
=
0
;
uint
16
_t
current_note
=
0
;
uint8_t
rest_counter
=
0
;
#
ifdef VIBRATO_ENABLE
+ 1
- 1
quantum/audio/audio_pwm.c
View File
@ -94,7 +94,7 @@ bool notes_repeat;
float
notes_rest
;
bool
note_resting
=
false
;
uint
8
_t
current_note
=
0
;
uint
16
_t
current_note
=
0
;
uint8_t
rest_counter
=
0
;
#
ifdef VIBRATO_ENABLE
Write
Preview
Loading…
Cancel
Save