From 3ac708542a351ba2c5335fabb6b05aea2e20b93a Mon Sep 17 00:00:00 2001 From: Dirk Niggemann Date: Mon, 21 Oct 2019 17:05:14 +0100 Subject: [PATCH] Fix spelling error in patchcord Fix erroneous scrollbar display on screens with more than 2 lines --- MicroDexed.ino | 2 +- UI.hpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MicroDexed.ino b/MicroDexed.ino index 2ad95c7..2c2bf35 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -95,7 +95,7 @@ AudioConnection patchCord18(delay_mixer, volume_l); #endif #if defined(AUDIO_DEVICE_USB) AudioConnection patchCord23(volume_r, 0, usb1, 0); -AudioConnection patchCordcw2435(volume_l, 0, usb1, 1); +AudioConnection patchCord24(volume_l, 0, usb1, 1); #endif #if defined(TEENSY_AUDIO_BOARD) || defined (I2S_AUDIO_ONLY) AudioOutputI2S i2s1; diff --git a/UI.hpp b/UI.hpp index 76fedf6..863c101 100644 --- a/UI.hpp +++ b/UI.hpp @@ -100,7 +100,6 @@ enum { MENU_START, MENU_VOICE, MENU_EDIT, MENU_VOLUME }; enum {MENU_VOICE_BANK, MENU_VOICE_SOUND}; uint8_t menu_state = MENU_START; uint8_t menu_voice = MENU_VOICE_SOUND; - void lcdml_menu_display(void); void lcdml_voice_menu_display(void); void lcdml_menu_clear(void); @@ -895,6 +894,9 @@ void UI_func_voice_selection(uint8_t param) lcd.show(1, 14, 2, "] "); break; } + for (int x = 2; x < LCD_rows; x++) { + lcd.show(x, 0, LCD_cols+1, " "); + } } void UI_func_volume(uint8_t param)