Use set_gang_count

This commit is contained in:
Edward Firmo
2024-12-23 04:24:50 +01:00
parent 2a8255b788
commit be6a4a51e2
2 changed files with 4 additions and 0 deletions

View File

@@ -262,6 +262,7 @@ script:
- lambda: |-
const uint8_t num_gangs = (sl_tx_model_gang->active_index().has_value()) ?
(sl_tx_model_gang->active_index().value() + 1) : 0;
set_gang_count(num_gangs);
bs_button_1_click_event->publish_state(false);
bs_button_2_click_event->publish_state(false);
bs_button_3_click_event->publish_state(false);