1
0
Fork 0

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.
This commit is contained in:
Reinhold Gschweicher 2022-01-29 23:45:22 +01:00 committed by JF
parent 04eca81a95
commit a2a70f8eda

View file

@ -12,7 +12,7 @@ namespace Pinetime {
void Init(); void Init();
void RunForDuration(uint8_t motorDuration); void RunForDuration(uint8_t motorDuration);
void StartRinging(); void StartRinging();
static void StopRinging(); void StopRinging();
private: private:
static void Ring(void* p_context); static void Ring(void* p_context);