M425 Backlash Correction (#11061)

This commit is contained in:
Marcio Teixeira
2018-12-08 13:36:46 -07:00
committed by Scott Lahteine
parent fa47ce369a
commit b22716e938
71 changed files with 2373 additions and 58 deletions

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;
}