diff options
Diffstat (limited to 'src/components/motor/MotorController.h')
-rw-r--r-- | src/components/motor/MotorController.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h index 00cd1937..1d8fcc95 100644 --- a/src/components/motor/MotorController.h +++ b/src/components/motor/MotorController.h @@ -11,11 +11,14 @@ namespace Pinetime { public: MotorController(Controllers::Settings& settingsController); void Init(); - void SetDuration(uint8_t motorDuration); + void RunForDuration(uint8_t motorDuration); + void StartRinging(); + static void StopRinging(); private: + static void Ring(void* p_context); Controllers::Settings& settingsController; - static void vibrate(void* p_context); + static void StopMotor(void* p_context); }; } } |