diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-16 19:30:36 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-16 19:30:36 (GMT) |
| commit | ef830123ba6144ed253b4cf9fa8ec18c1b19c99a (patch) | |
| tree | ceecaf4478e591cf80864e47751c22c897889ba5 /src/components/motor/MotorController.cpp | |
| parent | ea7ab274813982d0e55dd80d6609133fda417d54 (diff) | |
Protect OnStopRinging
Diffstat (limited to 'src/components/motor/MotorController.cpp')
| -rw-r--r-- | src/components/motor/MotorController.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/motor/MotorController.cpp b/src/components/motor/MotorController.cpp index 5ff549e..b895c83 100644 --- a/src/components/motor/MotorController.cpp +++ b/src/components/motor/MotorController.cpp @@ -19,6 +19,7 @@ void MotorController::Init() { void MotorController::Ring(TimerHandle_t xTimer) { auto motorController = static_cast<MotorController*>(pvTimerGetTimerID(xTimer)); + motorController->RunForDuration(50); } |
