Call switch_bank() and use button_track_mode() within it to init required LEDs
This commit is contained in:
parent
a9958840b0
commit
5276a9941b
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user