Skip to content

Notifications: use motorController object instead of class function#977

Merged
JF002 merged 2 commits into
InfiniTimeOrg:developfrom
NeroBurner:notifications_use_motorcontroller_object
Feb 19, 2022
Merged

Notifications: use motorController object instead of class function#977
JF002 merged 2 commits into
InfiniTimeOrg:developfrom
NeroBurner:notifications_use_motorcontroller_object

Conversation

@NeroBurner
Copy link
Copy Markdown
Contributor

@NeroBurner NeroBurner commented Jan 29, 2022

We get the motorController object, so store and use it.

It's the only usage of the class function StopRinging() instead of using on the member function

We get the motoroController object, so store and use it.
The `StopRinging()` function was used just in `Notifications.h` screen.
That screen already has access to a `motorController` object.
@JF002 JF002 added this to the 1.9.0 milestone Feb 19, 2022
@JF002 JF002 merged commit a2a70f8 into InfiniTimeOrg:develop Feb 19, 2022
@NeroBurner NeroBurner deleted the notifications_use_motorcontroller_object branch February 19, 2022 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants