summaryrefslogtreecommitdiff
path: root/src/components/motor/MotorController.h
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-08-01 13:05:48 +0300
committerRiku Isokoski <riksu9000@gmail.com>2021-08-01 13:05:48 +0300
commite6dcb3009fe6f847a7486dbb1b3143bbf49a15b9 (patch)
treea957ff31f9b3509b41b6bc465693e26d56f80d1f /src/components/motor/MotorController.h
parent5bdef365f2b8f8e0ba06d04216749205a5bba50d (diff)
Improvements
Diffstat (limited to 'src/components/motor/MotorController.h')
-rw-r--r--src/components/motor/MotorController.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h
index 5daeb8ce..d2c9fe5f 100644
--- a/src/components/motor/MotorController.h
+++ b/src/components/motor/MotorController.h
@@ -12,14 +12,14 @@ namespace Pinetime {
public:
MotorController(Controllers::Settings& settingsController);
void Init();
- void runForDuration(uint8_t motorDuration);
- void startRunning(uint8_t motorDuration);
- void stopRunning();
+ void RunForDuration(uint8_t motorDuration);
+ void StartRinging();
+ static void StopRinging();
private:
+ static void Ring(void* p_context);
Controllers::Settings& settingsController;
- static void vibrate(void* p_context);
- bool isBusy;
- };
+ static void StopMotor(void* p_context);
+ };
}
}