diff options
| author | JF <jf@codingfield.com> | 2021-09-26 09:16:55 (GMT) |
|---|---|---|
| committer | Gitea <gitea@fake.local> | 2021-09-26 09:16:55 (GMT) |
| commit | 6652ec6f71967f4a8eea1f159aa500a1a21a5902 (patch) | |
| tree | cdbbf9afede8ea74258867ba41905a3fe0d784f4 /src/components/motor/MotorController.h | |
| parent | 6c3d6fb2575888e582e7ef3004a0bc3bf6c588b6 (diff) | |
| parent | d03db14129b4f8cc2e691dd6f9e8d8d1ed52b7a1 (diff) | |
Merge branch 'develop' of JF/PineTime into master
Diffstat (limited to 'src/components/motor/MotorController.h')
| -rw-r--r-- | src/components/motor/MotorController.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h index d2c9fe5..c9326d5 100644 --- a/src/components/motor/MotorController.h +++ b/src/components/motor/MotorController.h @@ -1,16 +1,14 @@ #pragma once #include <cstdint> -#include "app_timer.h" -#include "components/settings/Settings.h" namespace Pinetime { namespace Controllers { - static constexpr uint8_t pinMotor = 16; class MotorController { public: - MotorController(Controllers::Settings& settingsController); + MotorController() = default; + void Init(); void RunForDuration(uint8_t motorDuration); void StartRinging(); @@ -18,7 +16,6 @@ namespace Pinetime { private: static void Ring(void* p_context); - Controllers::Settings& settingsController; static void StopMotor(void* p_context); }; } |
