aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/motor/MotorController.h
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-10-05 12:45:03 +0300
committerRiku Isokoski <riksu9000@gmail.com>2021-10-05 12:45:03 +0300
commitf61e88b8425f9edcd38e47027df62dcc56c83adc (patch)
tree1faacaf82f085ce6ca718d598b13a4f509a8e0ff /src/components/motor/MotorController.h
parente468acc99e4d7e188dc902983640f5eb8e8ff31f (diff)
parent392c7ad2aceecd8fe976165b66d39f0ed2083911 (diff)
Merge branch 'develop' into update_touch_driver
Diffstat (limited to 'src/components/motor/MotorController.h')
-rw-r--r--src/components/motor/MotorController.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h
index cf78088e..c9326d57 100644
--- a/src/components/motor/MotorController.h
+++ b/src/components/motor/MotorController.h
@@ -1,14 +1,14 @@
#pragma once
#include <cstdint>
-#include "components/settings/Settings.h"
namespace Pinetime {
namespace Controllers {
class MotorController {
public:
- MotorController(Controllers::Settings& settingsController);
+ MotorController() = default;
+
void Init();
void RunForDuration(uint8_t motorDuration);
void StartRinging();
@@ -16,7 +16,6 @@ namespace Pinetime {
private:
static void Ring(void* p_context);
- Controllers::Settings& settingsController;
static void StopMotor(void* p_context);
};
}