summaryrefslogtreecommitdiff
path: root/src/components/motor
diff options
context:
space:
mode:
authorFlorian Kraupa <fgrauper@gmail.com>2021-05-13 00:35:36 +0200
committerFlorian Kraupa <fgrauper@gmail.com>2021-05-16 00:42:31 +0200
commit56af4a0b830cd93ff12753042cdf105b65d0bcc8 (patch)
treedad7be3a94fd3640e29c0e49c5de812afcce3d99 /src/components/motor
parent5da65494b3da1a69d08f7b7e6c5242f6ce666e32 (diff)
cleaned up the code and reduced the size of the diff by removing things like additional whitespaces
Diffstat (limited to 'src/components/motor')
-rw-r--r--src/components/motor/MotorController.cpp2
-rw-r--r--src/components/motor/MotorController.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/motor/MotorController.cpp b/src/components/motor/MotorController.cpp
index 2a14f4b5..6f02a583 100644
--- a/src/components/motor/MotorController.cpp
+++ b/src/components/motor/MotorController.cpp
@@ -21,7 +21,7 @@ void MotorController::Init() {
isBusy = false;
}
-void MotorController::RunForDuration(uint8_t motorDuration) {
+void MotorController::runForDuration(uint8_t motorDuration) {
if (settingsController.GetVibrationStatus() == Controllers::Settings::Vibration::OFF || isBusy)
return;
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h
index be076ad4..5daeb8ce 100644
--- a/src/components/motor/MotorController.h
+++ b/src/components/motor/MotorController.h
@@ -12,7 +12,7 @@ namespace Pinetime {
public:
MotorController(Controllers::Settings& settingsController);
void Init();
- void RunForDuration(uint8_t motorDuration);
+ void runForDuration(uint8_t motorDuration);
void startRunning(uint8_t motorDuration);
void stopRunning();