increase size of note counter variable to avoid overflow
This commit is contained in:
parent
dbfbe0d7f0
commit
73d8593352
@ -141,7 +141,7 @@ uint16_t notes_count;
|
|||||||
bool notes_repeat;
|
bool notes_repeat;
|
||||||
bool note_resting = false;
|
bool note_resting = false;
|
||||||
|
|
||||||
uint8_t current_note = 0;
|
uint16_t current_note = 0;
|
||||||
uint8_t rest_counter = 0;
|
uint8_t rest_counter = 0;
|
||||||
|
|
||||||
#ifdef VIBRATO_ENABLE
|
#ifdef VIBRATO_ENABLE
|
||||||
|
@ -54,7 +54,7 @@ uint16_t notes_count;
|
|||||||
bool notes_repeat;
|
bool notes_repeat;
|
||||||
bool note_resting = false;
|
bool note_resting = false;
|
||||||
|
|
||||||
uint8_t current_note = 0;
|
uint16_t current_note = 0;
|
||||||
uint8_t rest_counter = 0;
|
uint8_t rest_counter = 0;
|
||||||
|
|
||||||
#ifdef VIBRATO_ENABLE
|
#ifdef VIBRATO_ENABLE
|
||||||
|
@ -94,7 +94,7 @@ bool notes_repeat;
|
|||||||
float notes_rest;
|
float notes_rest;
|
||||||
bool note_resting = false;
|
bool note_resting = false;
|
||||||
|
|
||||||
uint8_t current_note = 0;
|
uint16_t current_note = 0;
|
||||||
uint8_t rest_counter = 0;
|
uint8_t rest_counter = 0;
|
||||||
|
|
||||||
#ifdef VIBRATO_ENABLE
|
#ifdef VIBRATO_ENABLE
|
||||||
|
Loading…
Reference in New Issue
Block a user