Handle clang-format feedback.

This commit is contained in:
Christ van Willegen 2024-05-29 11:00:10 +02:00
parent a60de44ef1
commit cc8bda1c37

View file

@ -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;