Fix deadlock in loading + configurable steps count
This commit is contained in:
+3
-1
@@ -20,6 +20,7 @@ MenuItem menuItems[] = {
|
||||
{ "Playback", MENU_ID_PLAYBACK, false, false, 1 },
|
||||
{ "Melody", MENU_ID_MELODY, false, false, 1 },
|
||||
{ "Scale", MENU_ID_SCALE, false, false, 1 },
|
||||
{ "Steps", MENU_ID_STEPS, false, false, 1 },
|
||||
{ "Tempo", MENU_ID_TEMPO, false, false, 1 },
|
||||
{ "Song Mode", MENU_ID_SONG_MODE, false, false, 1 },
|
||||
{ "Track", MENU_ID_GROUP_TRACK, true, true, 0 },
|
||||
@@ -53,6 +54,7 @@ bool isItemVisible(int index) {
|
||||
int menuSelection = 0;
|
||||
volatile bool trackMute[NUM_TRACKS];
|
||||
int randomizeTrack = 0;
|
||||
volatile int numSteps = NUM_STEPS;
|
||||
volatile int playbackStep = 0;
|
||||
volatile int midiChannels[NUM_TRACKS];
|
||||
int scaleNotes[12];
|
||||
@@ -60,7 +62,7 @@ int numScaleNotes = 0;
|
||||
int melodySeeds[NUM_TRACKS];
|
||||
volatile int queuedTheme = -1;
|
||||
volatile int currentThemeIndex = 1;
|
||||
extern const uint32_t EEPROM_MAGIC = 0x4242424B;
|
||||
extern const uint32_t EEPROM_MAGIC = 0x4242424D;
|
||||
|
||||
MelodyStrategy* strategies[] = {
|
||||
new LuckyStrategy(), new ArpStrategy(), new EuclideanStrategy(),
|
||||
|
||||
Reference in New Issue
Block a user