M425 Backlash Correction (#11061)

This commit is contained in:
Marcio Teixeira authored and Scott Lahteine committed 2018-12-08 14:36:46 -06:00
1 parent fa47ce369a
commit b22716e938
71 files changed
+2373 -58

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@
static uint8_t get_status_response(TMC2208Stepper &st, uint32_t drv_status) {
uint8_t gstat = st.GSTAT();
uint8_t response = 0;
response |= (drv_status >> (31-3)) & 0b1000;
response |= (drv_status >> (31 - 3)) & 0b1000;
response |= gstat & 0b11;
return response;
}