aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/FirmwareValidation.cpp
diff options
context:
space:
mode:
authorJF002 <JF002@users.noreply.github.com>2021-08-28 15:06:03 +0200
committerGitHub <noreply@github.com>2021-08-28 15:06:03 +0200
commit969de9a8bccfa97da29de2eac61be9325dd2fdaa (patch)
tree820a3bbe74993ff6ce6b7f430d187a397a46f363 /src/displayapp/screens/FirmwareValidation.cpp
parentdf8ea7fe523bb9ec0ac3e24f0b1bebe5743d90cc (diff)
parent85c99797dad39348976d92ecf935536f362ee2c5 (diff)
Merge pull request #492 from Riksu9000/new_touch_handler
New touch handler
Diffstat (limited to 'src/displayapp/screens/FirmwareValidation.cpp')
-rw-r--r--src/displayapp/screens/FirmwareValidation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/screens/FirmwareValidation.cpp b/src/displayapp/screens/FirmwareValidation.cpp
index 233ebd5b..34a43a9f 100644
--- a/src/displayapp/screens/FirmwareValidation.cpp
+++ b/src/displayapp/screens/FirmwareValidation.cpp
@@ -68,10 +68,10 @@ bool FirmwareValidation::Refresh() {
}
void FirmwareValidation::OnButtonEvent(lv_obj_t* object, lv_event_t event) {
- if (object == buttonValidate && event == LV_EVENT_PRESSED) {
+ if (object == buttonValidate && event == LV_EVENT_CLICKED) {
validator.Validate();
running = false;
- } else if (object == buttonReset && event == LV_EVENT_PRESSED) {
+ } else if (object == buttonReset && event == LV_EVENT_CLICKED) {
validator.Reset();
}
}