Skip to content

Commit 4353e42

Browse files
committed
Ensure that the REPLAY button gets disabled as soon as you start recordig.
1 parent 0a057b5 commit 4353e42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/Braccio_Learn_and_Repeat/AppState.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ void RecordState::onEnter()
137137
{
138138
btnm_map[0] = "STOP";
139139
lv_btnmatrix_set_btn_ctrl(btnm, 0, LV_BTNMATRIX_CTRL_CHECKED);
140+
lv_btnmatrix_set_btn_ctrl(btnm, 1, LV_BTNMATRIX_CTRL_DISABLED);
140141

141142
Braccio.disengage();
142143
sample_cnt = 0;

0 commit comments

Comments
 (0)