Skip to content

Commit 272965c

Browse files
committed
make the "LEARN" menu entry the focused one at startup
1 parent bd11f65 commit 272965c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/tutorials/projects/p03-learning-mode/01_Braccio_learning_mode/01_Braccio_learning_mode.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void mainMenu() {
9393
lv_btnmatrix_set_btn_ctrl(btnm, 2, LV_BTNMATRIX_CTRL_CHECKABLE);
9494

9595
lv_btnmatrix_set_one_checked(btnm, true);
96-
lv_btnmatrix_set_selected_btn(btnm, 2);
96+
lv_btnmatrix_set_selected_btn(btnm, 0);
9797
lv_btnmatrix_set_btn_ctrl(btnm, 2, LV_BTNMATRIX_CTRL_CHECKED);
9898

9999
counter = lv_label_create(btnm);

0 commit comments

Comments
 (0)