mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
Handle clang-format feedback.
This commit is contained in:
parent
a60de44ef1
commit
cc8bda1c37
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue