diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2021-09-12 08:08:25 (GMT) |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2021-09-12 08:08:25 (GMT) |
| commit | 3ee4876214b70c107cabbb54f865e646e99f0d73 (patch) | |
| tree | ab0ba3a25b6a598b0371598ed72fea5af95adb97 /src/components/motor/MotorController.h | |
| parent | cdf5801efeafd7f0ee05cbe23198856efb9890e3 (diff) | |
Toggle notifications only, keep vibrations.
Diffstat (limited to 'src/components/motor/MotorController.h')
| -rw-r--r-- | src/components/motor/MotorController.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h index d2c9fe5..574b86c 100644 --- a/src/components/motor/MotorController.h +++ b/src/components/motor/MotorController.h @@ -2,7 +2,6 @@ #include <cstdint> #include "app_timer.h" -#include "components/settings/Settings.h" namespace Pinetime { namespace Controllers { @@ -10,7 +9,8 @@ namespace Pinetime { class MotorController { public: - MotorController(Controllers::Settings& settingsController); + MotorController() = default; + void Init(); void RunForDuration(uint8_t motorDuration); void StartRinging(); @@ -18,7 +18,6 @@ namespace Pinetime { private: static void Ring(void* p_context); - Controllers::Settings& settingsController; static void StopMotor(void* p_context); }; } |
