diff options
Diffstat (limited to 'src/components/motor/MotorController.cpp')
-rw-r--r-- | src/components/motor/MotorController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/motor/MotorController.cpp b/src/components/motor/MotorController.cpp index 6f02a583..80883025 100644 --- a/src/components/motor/MotorController.cpp +++ b/src/components/motor/MotorController.cpp @@ -15,7 +15,7 @@ void MotorController::Init() { nrf_gpio_cfg_output(pinMotor); nrf_gpio_pin_set(pinMotor); app_timer_init(); - + app_timer_create(&shortVibTimer, APP_TIMER_MODE_SINGLE_SHOT, vibrate); app_timer_create(&longVibTimer, APP_TIMER_MODE_REPEATED, vibrate); isBusy = false; @@ -53,4 +53,4 @@ void MotorController::vibrate(void* p_context) { } else { nrf_gpio_pin_clear(pinMotor); } -}
\ No newline at end of file +} |