Showing bank on LCD as 8 chars instead of 10.

Small internal renaming.
pull/4/head
Holger Wirtz 6 years ago
parent 4eb4bee9f7
commit b00e904355
  1. 4
      MicroDexed.ino
  2. 8
      UI.cpp
  3. 2
      config.h

@ -788,7 +788,7 @@ void eeprom_write(uint8_t status)
void eeprom_update(void)
{
autostore_value = AUTOSTORE_DIST_MS;
autostore_value = AUTOSTORE_FAST_MS;
if (eeprom_update_status & EEPROM_UPDATE_BANK)
{
@ -857,8 +857,6 @@ void eeprom_update(void)
#if defined (DEBUG) && defined (SHOW_CPU_LOAD_MSEC)
void show_cpu_and_mem_usage(void)
{
Serial.print(F("EEPROM state: "));
Serial.print(eeprom_update_status, DEC);
Serial.print(F(" CPU: "));
Serial.print(AudioProcessorUsage(), 2);
Serial.print(F("% CPU MAX: "));

@ -223,14 +223,14 @@ void ui_show_main(void)
if (ui_main_state == UI_MAIN_BANK || ui_main_state == UI_MAIN_BANK_SELECTED)
{
lcd.show(0, 2, 1, "[");
lcd.show(0, 3, 10, bank_name);
lcd.show(0, 14, 1, "]");
lcd.show(0, 3, 8, bank_name);
lcd.show(0, 11, 1, "]");
}
else
{
lcd.show(0, 2, 1, " ");
lcd.show(0, 3, 10, bank_name);
lcd.show(0, 14, 1, " ");
lcd.show(0, 3, 8, bank_name);
lcd.show(0, 11, 1, " ");
}
lcd.show(1, 0, 2, voice + 1);

@ -97,7 +97,7 @@
#define LCD_LINES 2
#define UI_AUTO_BACK_MS 3000
#define AUTOSTORE_MS 5000
#define AUTOSTORE_DIST_MS 50
#define AUTOSTORE_FAST_MS 50
// Encoder with button
#define ENC_VOL_STEPS 43

Loading…
Cancel
Save