From cc8bda1c37f321b2d02bc01df9018b5f2cc7d833 Mon Sep 17 00:00:00 2001 From: Christ van Willegen Date: Wed, 29 May 2024 11:00:10 +0200 Subject: [PATCH] Handle clang-format feedback. --- esphome/components/stepper/stepper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/stepper/stepper.cpp b/esphome/components/stepper/stepper.cpp index e918d1472c..1520359a35 100644 --- a/esphome/components/stepper/stepper.cpp +++ b/esphome/components/stepper/stepper.cpp @@ -39,7 +39,7 @@ int32_t Stepper::should_step_() { uint32_t dt = now - this->last_step_; if (dt >= (1 / this->current_speed_) * 1e6f) { int32_t mag = 0; - switch(rotation_) { + switch (rotation_) { case ROTATION_CW: mag = 1; break;