|
|
@ -1428,6 +1428,11 @@ void UI_func_panorama(uint8_t param) |
|
|
|
// setup function
|
|
|
|
// setup function
|
|
|
|
lcd.setCursor(0, 0); |
|
|
|
lcd.setCursor(0, 0); |
|
|
|
lcd.print(F("Panorama")); |
|
|
|
lcd.print(F("Panorama")); |
|
|
|
|
|
|
|
if (configuration.mono > 0) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
lcd.setCursor(0, 1); |
|
|
|
|
|
|
|
lcd.print(F("MONO-disabled")); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_loop()) // ****** LOOP *********
|
|
|
|
if (LCDML.FUNC_loop()) // ****** LOOP *********
|
|
|
@ -1436,25 +1441,29 @@ void UI_func_panorama(uint8_t param) |
|
|
|
{ |
|
|
|
{ |
|
|
|
LCDML.FUNC_goBackToMenu(); |
|
|
|
LCDML.FUNC_goBackToMenu(); |
|
|
|
} |
|
|
|
} |
|
|
|
else if (LCDML.BT_checkDown()) |
|
|
|
else if (LCDML.BT_checkDown() && configuration.mono == 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (configuration.pan < PANORAMA_MAX) |
|
|
|
if (configuration.pan < PANORAMA_MAX) |
|
|
|
{ |
|
|
|
{ |
|
|
|
configuration.pan++; |
|
|
|
configuration.pan++; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
else if (LCDML.BT_checkUp()) |
|
|
|
else if (LCDML.BT_checkUp() && configuration.mono == 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (configuration.pan > PANORAMA_MIN) |
|
|
|
if (configuration.pan > PANORAMA_MIN) |
|
|
|
{ |
|
|
|
{ |
|
|
|
configuration.pan--; |
|
|
|
configuration.pan--; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (configuration.mono == 0) |
|
|
|
|
|
|
|
{ |
|
|
|
lcd.setCursor(0, 1); |
|
|
|
lcd.setCursor(0, 1); |
|
|
|
lcd_display_int(configuration.pan, 2, false, true, true); |
|
|
|
lcd_display_int(configuration.pan, 2, false, true, true); |
|
|
|
|
|
|
|
|
|
|
|
set_volume(configuration.vol, configuration.pan, configuration.mono); |
|
|
|
set_volume(configuration.vol, configuration.pan, configuration.mono); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_close()) // ****** STABLE END *********
|
|
|
|
if (LCDML.FUNC_close()) // ****** STABLE END *********
|
|
|
|
{ |
|
|
|
{ |
|
|
@ -1496,13 +1505,13 @@ void UI_func_stereo_mono(uint8_t param) |
|
|
|
switch (configuration.mono) |
|
|
|
switch (configuration.mono) |
|
|
|
{ |
|
|
|
{ |
|
|
|
case 0: |
|
|
|
case 0: |
|
|
|
lcd.print(F("[MONO ]")); |
|
|
|
|
|
|
|
stereomono1.stereo(false); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 1: |
|
|
|
|
|
|
|
lcd.print(F("[STEREO]")); |
|
|
|
lcd.print(F("[STEREO]")); |
|
|
|
stereomono1.stereo(true); |
|
|
|
stereomono1.stereo(true); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case 1: |
|
|
|
|
|
|
|
lcd.print(F("[MONO ]")); |
|
|
|
|
|
|
|
stereomono1.stereo(false); |
|
|
|
|
|
|
|
break; |
|
|
|
case 2: |
|
|
|
case 2: |
|
|
|
lcd.print(F("[MONO-R]")); |
|
|
|
lcd.print(F("[MONO-R]")); |
|
|
|
stereomono1.stereo(false); |
|
|
|
stereomono1.stereo(false); |
|
|
|