[FL-2848] Universal Remote fix (#1770)

* Reset BruteForce on exit from Universal Remote
* Reset current button in ButtonPanel
This commit is contained in:
Georgii Surkov
2022-09-22 19:13:00 +03:00
committed by GitHub
parent e70121e20f
commit 17d01f5c29
4 changed files with 8 additions and 0 deletions

View File

@@ -133,6 +133,8 @@ void button_panel_reset(ButtonPanel* button_panel) {
}
model->reserve_x = 0;
model->reserve_y = 0;
model->selected_item_x = 0;
model->selected_item_y = 0;
LabelList_reset(model->labels);
ButtonMatrix_reset(model->button_matrix);
return true;