diff options
| author | Reinhold Gschweicher <pyro4hell@gmail.com> | 2022-01-29 22:45:22 (GMT) |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2022-02-19 12:13:36 (GMT) |
| commit | a2a70f8eda56b4cf859f456b2f842e4833cd3dbf (patch) | |
| tree | ad1fdd31738e98b5f0e31e50c04e2236c2c4c2a9 | |
| parent | 04eca81a956ad84a5604096515da1ac148fe8921 (diff) | |
MotorController: no need to make this function a class function
The `StopRinging()` function was used just in `Notifications.h` screen.
That screen already has access to a `motorController` object.
| -rw-r--r-- | src/components/motor/MotorController.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h index c9326d5..b5a592b 100644 --- a/src/components/motor/MotorController.h +++ b/src/components/motor/MotorController.h @@ -12,7 +12,7 @@ namespace Pinetime { void Init(); void RunForDuration(uint8_t motorDuration); void StartRinging(); - static void StopRinging(); + void StopRinging(); private: static void Ring(void* p_context); |
