diff options
author | Florian Kraupa <fgrauper@gmail.com> | 2021-05-13 00:35:36 +0200 |
---|---|---|
committer | Florian Kraupa <fgrauper@gmail.com> | 2021-05-16 00:42:31 +0200 |
commit | 56af4a0b830cd93ff12753042cdf105b65d0bcc8 (patch) | |
tree | dad7be3a94fd3640e29c0e49c5de812afcce3d99 /src/components/motor | |
parent | 5da65494b3da1a69d08f7b7e6c5242f6ce666e32 (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.cpp | 2 | ||||
-rw-r--r-- | src/components/motor/MotorController.h | 2 |
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(); |