mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 12:37:45 +01:00
Handle clang-format feedback.
This commit is contained in:
parent
a60de44ef1
commit
cc8bda1c37
@ -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 New Issue
Block a user