diff options
author | Riku Isokoski <riksu9000@gmail.com> | 2021-10-25 16:57:29 +0300 |
---|---|---|
committer | Riku Isokoski <riksu9000@gmail.com> | 2021-10-25 16:57:29 +0300 |
commit | 351c60a13167c05dfdbb0516f84077a4cd6adeec (patch) | |
tree | c4333ce60c6889411f9af04b544cd3ac4c4eef58 /src/systemtask/SystemTask.h | |
parent | b19a2a760b74f27c8d3db262bf43437f722f74bd (diff) |
Return button action instead of pushing messages
Diffstat (limited to 'src/systemtask/SystemTask.h')
-rw-r--r-- | src/systemtask/SystemTask.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemtask/SystemTask.h b/src/systemtask/SystemTask.h index 9967f75c..d6045e9c 100644 --- a/src/systemtask/SystemTask.h +++ b/src/systemtask/SystemTask.h @@ -21,6 +21,7 @@ #include "components/fs/FS.h" #include "touchhandler/TouchHandler.h" #include "buttonhandler/ButtonHandler.h" +#include "buttonhandler/ButtonActions.h" #ifdef PINETIME_IS_RECOVERY #include "displayapp/DisplayAppRecovery.h" @@ -138,6 +139,7 @@ namespace Pinetime { TimerHandle_t measureBatteryTimer; bool doNotGoToSleep = false; + void HandleButtonAction(Controllers::ButtonActions action); void GoToRunning(); void UpdateMotion(); bool stepCounterMustBeReset = false; |