Skip to content
Snippets Groups Projects
Commit 18ba6c80 authored by Malaurie Bernard's avatar Malaurie Bernard
Browse files

Change the methods motor_is_running from the class motor

parent c85d9819
No related branches found
No related tags found
1 merge request!17Malaurie's work on UI + CLI interface + AccelStepper interface
...@@ -255,7 +255,7 @@ bool Motor :: motor_is_running () //return true if the motor is currently runni ...@@ -255,7 +255,7 @@ bool Motor :: motor_is_running () //return true if the motor is currently runni
-Action : / -Action : /
***/ ***/
{ {
return (stepper.speed() != 0); return stepper.isRunning();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment