Skip to content

Commit a2a70f8

Browse files
NeroBurnerJF002
authored andcommitted
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.
1 parent 04eca81 commit a2a70f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/motor/MotorController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Pinetime {
1212
void Init();
1313
void RunForDuration(uint8_t motorDuration);
1414
void StartRinging();
15-
static void StopRinging();
15+
void StopRinging();
1616

1717
private:
1818
static void Ring(void* p_context);

0 commit comments

Comments
 (0)