Revert "Console1: catch some more uncaught exceptions"
This reverts commit 99e2546477
.
This commit is contained in:
parent
53e24168b6
commit
85d9e333c9
@ -581,7 +581,6 @@ void
|
||||
Console1::map_mute ()
|
||||
{
|
||||
DEBUG_TRACE (DEBUG::Console1, "Console1::map_mute ...\n");
|
||||
try {
|
||||
if (_current_stripable) {
|
||||
if (_current_stripable->mute_control ()->muted ()) {
|
||||
get_button (swap_solo_mute ? SOLO : MUTE)->set_led_state (true);
|
||||
@ -598,9 +597,6 @@ Console1::map_mute ()
|
||||
DEBUG_TRACE (DEBUG::Console1, "Console1::map_mute stop blinking 2\n");
|
||||
stop_blinking (swap_solo_mute ? SOLO : MUTE);
|
||||
}
|
||||
} catch (ControlNotFoundException const&) {
|
||||
DEBUG_TRACE (DEBUG::Console1, "Button not found\n");
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
@ -617,7 +613,6 @@ void
|
||||
Console1::map_phase ()
|
||||
{
|
||||
DEBUG_TRACE (DEBUG::Console1, "map_phase \n");
|
||||
try {
|
||||
ControllerButton* controllerButton = get_button (PHASE_INV);
|
||||
if (_current_stripable && _current_stripable->phase_control ()) {
|
||||
uint32_t channels = _current_stripable->phase_control ()->size ();
|
||||
@ -637,9 +632,6 @@ Console1::map_phase ()
|
||||
} else {
|
||||
controllerButton->set_led_state (false);
|
||||
}
|
||||
} catch (ControlNotFoundException const&) {
|
||||
DEBUG_TRACE (DEBUG::Console1, "Button not found\n");
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
@ -658,11 +650,7 @@ Console1::map_select ()
|
||||
{
|
||||
DEBUG_TRACE (DEBUG::Console1, "map_select())\n");
|
||||
for (uint32_t i = 0; i < bank_size; ++i) {
|
||||
try {
|
||||
get_button (ControllerID (FOCUS1 + i))->set_led_state (i == current_strippable_index);
|
||||
} catch (ControlNotFoundException const&) {
|
||||
DEBUG_TRACE (DEBUG::Console1, "Button not found\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user