summaryrefslogtreecommitdiff
path: root/src/buttonhandler/ButtonHandler.cpp
diff options
context:
space:
mode:
authorKieran Cawthray <kieranc@gmail.com>2021-12-09 21:41:29 (GMT)
committerKieran Cawthray <kieranc@gmail.com>2021-12-09 21:41:29 (GMT)
commit6cf4a933b6323fc24a3b27ae55a3c12d31d6a841 (patch)
treeffee2e59a62efe62aa8255f68e7cc89be1cad152 /src/buttonhandler/ButtonHandler.cpp
parentae4b9e0f2e877d200bd780f99e2a8952f9f8bf5b (diff)
parent42a5cdb5b776c2cdeb08a8c6f26606282a809178 (diff)
Merge remote-tracking branch 'upstream/develop' into pts-settings
Diffstat (limited to 'src/buttonhandler/ButtonHandler.cpp')
-rw-r--r--src/buttonhandler/ButtonHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buttonhandler/ButtonHandler.cpp b/src/buttonhandler/ButtonHandler.cpp
index 91e8bbd..02ee22c 100644
--- a/src/buttonhandler/ButtonHandler.cpp
+++ b/src/buttonhandler/ButtonHandler.cpp
@@ -8,7 +8,7 @@ void ButtonTimerCallback(TimerHandle_t xTimer) {
}
void ButtonHandler::Init(Pinetime::System::SystemTask* systemTask) {
- buttonTimer = xTimerCreate("buttonTimer", 0, pdFALSE, systemTask, ButtonTimerCallback);
+ buttonTimer = xTimerCreate("buttonTimer", pdMS_TO_TICKS(200), pdFALSE, systemTask, ButtonTimerCallback);
}
ButtonActions ButtonHandler::HandleEvent(Events event) {