diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2021-08-14 20:02:23 (GMT) |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2021-08-14 20:02:23 (GMT) |
| commit | 044036e884039237ade739d46b682e586a36e8df (patch) | |
| tree | af50c3194a86096147459bc9b4d5821b8bd509d2 /src/components/motor/MotorController.h | |
| parent | 23bde0d18e99a344b95b5f1507350e186659eec2 (diff) | |
| parent | df8d396472fe47016623a111a5f025048fb82964 (diff) | |
Merge branch 'develop' into timer_battery_reading
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 df61af7..d2c9fe5 100644 --- a/src/components/motor/MotorController.h +++ b/src/components/motor/MotorController.h @@ -12,11 +12,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); }; } } |
