Skip to content

Commit effced8

Browse files
committed
stopwatch: disable laps at maxLapCount
1 parent 56799d2 commit effced8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/displayapp/screens/StopWatch.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ void StopWatch::stopLapBtnEventHandler() {
195195
lv_label_set_text(lapText, "");
196196
lapsDone = std::min(lapsDone + 1, maxLapCount);
197197
if (lapsDone == maxLapCount) {
198-
// lv_obj_set_style_local_bg_color(btnStopLap, LV_BTN_PART_MAIN, LV_STATE_DEFAULT, Colors::bgDark);
199198
lv_obj_set_state(btnStopLap, LV_STATE_DISABLED);
200199
lv_obj_set_state(txtStopLap, LV_STATE_DISABLED);
201200
}

0 commit comments

Comments
 (0)