Fix ::run_state method (wait_for_idle instead of idle) and better vel_limit setting in .ino sketch example

Pull changes from arduino-improvements branch into master
This commit is contained in:
PAJohnson
2020-10-14 19:32:39 -04:00
parent b4e5469dcf
commit ed8705071f
3 changed files with 41 additions and 16 deletions

View File

@@ -35,7 +35,7 @@ public:
int32_t readInt();
// State helper
bool run_state(int axis, int requested_state, bool wait);
bool run_state(int axis, int requested_state, bool wait_for_idle, float timeout = 10.0f);
private:
String readString();