aboutsummaryrefslogtreecommitdiffstats
path: root/pico-watch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pico-watch.cpp')
-rw-r--r--pico-watch.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/pico-watch.cpp b/pico-watch.cpp
index 60537a8..ce76016 100644
--- a/pico-watch.cpp
+++ b/pico-watch.cpp
@@ -67,9 +67,7 @@ int app_render(int app_id) {
}
int app_btnpressed(int app_id, uint gpio) {
- if (app_api.m_send_button_press_to_app)
- return (*APPS_FUNC_BTNPRESS[app_id])(&app_api, gpio);
- return 2;
+ return (*APPS_FUNC_BTNPRESS[app_id])(&app_api, gpio);
}
int app_destroy(int app_id) {