diff options
Diffstat (limited to 'tube-rotator/stepper.c')
-rw-r--r-- | tube-rotator/stepper.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tube-rotator/stepper.c b/tube-rotator/stepper.c index 83b1026..80f4d8d 100644 --- a/tube-rotator/stepper.c +++ b/tube-rotator/stepper.c @@ -110,3 +110,8 @@ void stepper_dec_speed(void) { target_speed = (target_speed <= STEPPER_SPEED_MIN) ? target_speed : target_speed - 1; } + +uint16_t stepper_get_speed(void) +{ + return target_speed; +} |