diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-17 09:01:12 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-17 09:07:56 (GMT) |
| commit | c37e38517c60a45fca5a03d64962a8f95bf46114 (patch) | |
| tree | cc0dcdd68bba5467c17d2cd35f58b66a2c096faf /src/components/motor/MotorController.h | |
| parent | d73be76905c131c9d459cbb4e44be4bfc87dfddb (diff) | |
Remove systemTask reference from MotorController
Diffstat (limited to 'src/components/motor/MotorController.h')
| -rw-r--r-- | src/components/motor/MotorController.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h index 99a4e64..8dfa2bd 100644 --- a/src/components/motor/MotorController.h +++ b/src/components/motor/MotorController.h @@ -20,10 +20,9 @@ namespace Pinetime { protected: friend class Pinetime::System::SystemTask; - void Init(System::SystemTask* systemTask); + void Init(); private: - System::SystemTask* systemTask = nullptr; static void Ring(TimerHandle_t xTimer); static void StopMotor(TimerHandle_t xTimer); TimerHandle_t shortVibTimer; |
