We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3ead33 + 3a93823 commit 937dc34Copy full SHA for 937dc34
1 file changed
src/displayapp/screens/StopWatch.cpp
@@ -115,8 +115,9 @@ bool StopWatch::Refresh() {
115
// Init state when an user first opens the app
116
// and when a stop/reset button is pressed
117
case States::Init: {
118
- if (btnStopLap) {
+ if (btnStopLap != nullptr) {
119
lv_obj_del(btnStopLap);
120
+ btnStopLap = nullptr;
121
}
122
// The initial default value
123
lv_label_set_text(time, "00:00");
0 commit comments