summaryrefslogtreecommitdiff
path: root/src/components/motor/MotorController.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/motor/MotorController.h')
-rw-r--r--src/components/motor/MotorController.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h
index 01fe9304..52ab558c 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
+}