summaryrefslogtreecommitdiff
path: root/tube-rotator/tube-rotator.c
diff options
context:
space:
mode:
Diffstat (limited to 'tube-rotator/tube-rotator.c')
-rw-r--r--tube-rotator/tube-rotator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tube-rotator/tube-rotator.c b/tube-rotator/tube-rotator.c
index b5a6bd6..e1c84ce 100644
--- a/tube-rotator/tube-rotator.c
+++ b/tube-rotator/tube-rotator.c
@@ -47,7 +47,7 @@ void handle_cmd(uint8_t cmd)
case '3': stepper_set_speed(STEPPER_SPEED_180RPM); break;
default: printf("Error(cmd): unknown command %02X '%c'\r\n", cmd, cmd); return;
}
- printf("current speed: %d \r", stepper_get_speed());
+ printf("current speed: %4d \r", stepper_get_speed());
}
int main(void)