Fix spelling error in patchcord

Fix erroneous scrollbar display on screens with more than 2 lines
pull/3/head
Dirk Niggemann 5 years ago
parent f6d555b046
commit 3ac708542a
  1. 2
      MicroDexed.ino
  2. 4
      UI.hpp

@ -95,7 +95,7 @@ AudioConnection patchCord18(delay_mixer, volume_l);
#endif #endif
#if defined(AUDIO_DEVICE_USB) #if defined(AUDIO_DEVICE_USB)
AudioConnection patchCord23(volume_r, 0, usb1, 0); AudioConnection patchCord23(volume_r, 0, usb1, 0);
AudioConnection patchCordcw2435(volume_l, 0, usb1, 1); AudioConnection patchCord24(volume_l, 0, usb1, 1);
#endif #endif
#if defined(TEENSY_AUDIO_BOARD) || defined (I2S_AUDIO_ONLY) #if defined(TEENSY_AUDIO_BOARD) || defined (I2S_AUDIO_ONLY)
AudioOutputI2S i2s1; AudioOutputI2S i2s1;

@ -100,7 +100,6 @@ enum { MENU_START, MENU_VOICE, MENU_EDIT, MENU_VOLUME };
enum {MENU_VOICE_BANK, MENU_VOICE_SOUND}; enum {MENU_VOICE_BANK, MENU_VOICE_SOUND};
uint8_t menu_state = MENU_START; uint8_t menu_state = MENU_START;
uint8_t menu_voice = MENU_VOICE_SOUND; uint8_t menu_voice = MENU_VOICE_SOUND;
void lcdml_menu_display(void); void lcdml_menu_display(void);
void lcdml_voice_menu_display(void); void lcdml_voice_menu_display(void);
void lcdml_menu_clear(void); void lcdml_menu_clear(void);
@ -895,6 +894,9 @@ void UI_func_voice_selection(uint8_t param)
lcd.show(1, 14, 2, "] "); lcd.show(1, 14, 2, "] ");
break; break;
} }
for (int x = 2; x < LCD_rows; x++) {
lcd.show(x, 0, LCD_cols+1, " ");
}
} }
void UI_func_volume(uint8_t param) void UI_func_volume(uint8_t param)

Loading…
Cancel
Save