diff --git a/UI.hpp b/UI.hpp index 4889b19..8a16a47 100644 --- a/UI.hpp +++ b/UI.hpp @@ -2874,9 +2874,15 @@ void UI_handle_OP(uint8_t param, uint8_t op, uint8_t instance_id) LCDML.FUNC_goBackToMenu(); } else if (LCDML.BT_checkUp() && state == true) + { bitClear(configuration.dexed[instance_id].op_enabled, op); + state = false; + } else if (LCDML.BT_checkDown() && state == false) + { bitSet(configuration.dexed[instance_id].op_enabled, op); + state = true; + } } lcd.setCursor(0, 1); diff --git a/config.h b/config.h index 7dda6b1..30fec30 100644 --- a/config.h +++ b/config.h @@ -99,7 +99,28 @@ #define REDUCE_LOUDNESS 0 //#define REDUCE_LOUDNESS_FACTOR 1.0 #else // IF TEENSY_AUDIO_BOARD -#define SGTL5000_LINEOUT_LEVEL 29 +/* + 13: 3.16 Volts p-p + 14: 2.98 Volts p-p + 15: 2.83 Volts p-p + 16: 2.67 Volts p-p + 17: 2.53 Volts p-p + 18: 2.39 Volts p-p + 19: 2.26 Volts p-p + 20: 2.14 Volts p-p + 21: 2.02 Volts p-p + 22: 1.91 Volts p-p + 23: 1.80 Volts p-p + 24: 1.71 Volts p-p + 25: 1.62 Volts p-p + 26: 1.53 Volts p-p + 27: 1.44 Volts p-p + 28: 1.37 Volts p-p + 29: 1.29 Volts p-p (default) + 30: 1.22 Volts p-p + 31: 1.16 Volts p-p +*/ +#define SGTL5000_LINEOUT_LEVEL 21 #if AUDIO_BLOCK_SAMPLES == 64 #define AUDIO_MEM 512 #else