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

@ -253,7 +253,7 @@ LaunchControlXL::init_buttons (bool startup)
reset(template_number()); reset(template_number());
if (startup) { 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); button_track_focus(n);
update_track_control_led(n); button_track_mode(track_mode());
} }
} }
} }