diff options
| author | jlukanc <27705324+jlukanc1@users.noreply.github.com> | 2021-01-25 17:44:58 (GMT) |
|---|---|---|
| committer | jlukanc <27705324+jlukanc1@users.noreply.github.com> | 2021-01-25 17:44:58 (GMT) |
| commit | f27e63290639ca257e88298b60429d72271c4954 (patch) | |
| tree | 313b49b05689ee48af67d720a546b5dabd03b07f /src/components/motor/MotorController.h | |
| parent | 8c3df5f0211e0cc31de90039a73fe48b9a9aafe0 (diff) | |
move app timer def
Diffstat (limited to 'src/components/motor/MotorController.h')
| -rw-r--r-- | src/components/motor/MotorController.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h index 01fe930..52ab558 100644 --- a/src/components/motor/MotorController.h +++ b/src/components/motor/MotorController.h @@ -1,6 +1,7 @@ #pragma once #include <cstdint> +#include "app_timer.h" namespace Pinetime { namespace Controllers { @@ -11,10 +12,8 @@ namespace Pinetime { void Init(); void SetDuration(uint8_t motorDuration); - APP_TIMER_DEF(vibTimer); - private: - + app_timer_id_t vibTimer; }; } -}
\ No newline at end of file +} |
