diff options
| author | JF <jf@codingfield.com> | 2021-04-21 18:19:57 (GMT) |
|---|---|---|
| committer | Gitea <gitea@fake.local> | 2021-04-21 18:19:57 (GMT) |
| commit | a80e782f267cd2424d22da23d809c0c6a8ff8761 (patch) | |
| tree | ca2bdb100ea98d361296a61352679f63a507f955 /src/components/motor/MotorController.h | |
| parent | 24d3eea4fba05d774ace794eb8c9b21b8f2aa8c6 (diff) | |
| parent | fefb429fb4bf1020553900d9e514d3baa9040325 (diff) | |
Merge branch 'develop' of JF/PineTime into master
Diffstat (limited to 'src/components/motor/MotorController.h')
| -rw-r--r-- | src/components/motor/MotorController.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h index bdc20c0..2f2e034 100644 --- a/src/components/motor/MotorController.h +++ b/src/components/motor/MotorController.h @@ -2,6 +2,7 @@ #include <cstdint> #include "app_timer.h" +#include "components/settings/Settings.h" namespace Pinetime { namespace Controllers { @@ -9,10 +10,12 @@ namespace Pinetime { class MotorController { public: + MotorController( Controllers::Settings &settingsController ); void Init(); void SetDuration(uint8_t motorDuration); private: + Controllers::Settings& settingsController; static void vibrate(void * p_context); }; } |
