cleaned up the code and reduced the size of the diff by removing things like additional whitespaces
This commit is contained in:
@@ -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;
|
||||
|
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user