Open Chris-Idema-WizzDev opened 3 years ago
https://github.com/trinamic/TMC-API/blob/fd6a5378b2157bf115b8126c9183364b899fa27f/tmc/ic/TMC429/TMC429.c#L379
Shouldn't this be TMC429_IDX_XLATCHED(motor) ?
TMC429_IDX_XLATCHED(motor)
The define in TMC429_Register.h is:: #define TMC429_IDX_XLATCHED(motor) (0x1C|TMC429_MOTOR(motor)) So it takes a parameter.
#define TMC429_IDX_XLATCHED(motor) (0x1C|TMC429_MOTOR(motor))
Thank you for your feedback. It has been updated.
https://github.com/trinamic/TMC-API/blob/fd6a5378b2157bf115b8126c9183364b899fa27f/tmc/ic/TMC429/TMC429.c#L379
Shouldn't this be
TMC429_IDX_XLATCHED(motor)
?The define in TMC429_Register.h is::
#define TMC429_IDX_XLATCHED(motor) (0x1C|TMC429_MOTOR(motor))
So it takes a parameter.