From 8c6435d4e8cae2c204b6f929eafc05f709d81737 Mon Sep 17 00:00:00 2001 From: VintagePC <53943260+vintagepc@users.noreply.github.com> Date: Fri, 16 Sep 2022 19:46:48 -0400 Subject: [PATCH] Change back a debug test --- src/logic/hw_sanity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logic/hw_sanity.cpp b/src/logic/hw_sanity.cpp index 4798113..180be5f 100644 --- a/src/logic/hw_sanity.cpp +++ b/src/logic/hw_sanity.cpp @@ -109,7 +109,7 @@ bool HWSanity::StepInner() { { uint8_t set_state = test_step % 8; // The order of the bits here is roughly the same as that of IOIN. - driver.SetDir(params, set_state & BIT_DIR); + driver.SetRawDir(params, set_state & BIT_DIR); driver.SetStep(params, set_state & BIT_STEP); driver.SetEnabled(params, set_state & BIT_ENA); uint32_t drv_ioin = driver.ReadRegister(params, hal::tmc2130::TMC2130::Registers::IOIN);