Merge pull request #225 from leptun/hwSanity_disable_steppers_after_test

hwSanity: Disable the steppers after test
pull/231/head
Alex Voinea 2022-10-22 18:04:38 +02:00 committed by GitHub
commit 09d3527f90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ bool HWSanity::StepInner() {
test_step++; test_step++;
} else { } else {
// This pass is complete. Move on to the next motor or cleanup. // This pass is complete. Move on to the next motor or cleanup.
driver.SetEnabled(params, false);
driver.SetBridgeOutput(params, true); driver.SetBridgeOutput(params, true);
test_step = 0; test_step = 0;
state = next_state; state = next_state;