diff options
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 d2c9fe5f..c9326d57 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); }; } |