13
0

Call switch_bank() and use button_track_mode() within it to init required LEDs

This commit is contained in:
Térence Clastres 2018-08-09 20:53:50 +02:00
parent a9958840b0
commit 5276a9941b

View File

@ -251,9 +251,9 @@ void
LaunchControlXL::init_buttons (bool startup)
{
reset(template_number());
if (startup) {
button_track_mode(track_mode());
switch_bank(bank_start);
}
}
@ -866,7 +866,7 @@ LaunchControlXL::switch_bank (uint32_t base)
button_track_focus(n);
update_track_control_led(n);
button_track_mode(track_mode());
}
}
}