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.cpp | |
| parent | d73be76905c131c9d459cbb4e44be4bfc87dfddb (diff) | |
Remove systemTask reference from MotorController
Diffstat (limited to 'src/components/motor/MotorController.cpp')
| -rw-r--r-- | src/components/motor/MotorController.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/motor/MotorController.cpp b/src/components/motor/MotorController.cpp index 714bff6..6eff2ee 100644 --- a/src/components/motor/MotorController.cpp +++ b/src/components/motor/MotorController.cpp @@ -9,9 +9,7 @@ APP_TIMER_DEF(longVibTimer); using namespace Pinetime::Controllers; -void MotorController::Init(System::SystemTask* systemTask) { - this->systemTask = systemTask; - +void MotorController::Init() { nrf_gpio_cfg_output(PinMap::Motor); nrf_gpio_pin_set(PinMap::Motor); |
