summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhold Gschweicher <pyro4hell@gmail.com>2022-01-29 23:45:22 +0100
committerJF <JF002@users.noreply.github.com>2022-02-19 13:13:36 +0100
commita2a70f8eda56b4cf859f456b2f842e4833cd3dbf (patch)
treead1fdd31738e98b5f0e31e50c04e2236c2c4c2a9
parent04eca81a956ad84a5604096515da1ac148fe8921 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h
index c9326d57..b5a592b1 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);