analogdevicesinc / TMC-API

TRINAMIC's IC API
MIT License
198 stars 89 forks source link

TMC429_IDX_XLATCHED -> TMC429_IDX_XLATCHED(motor)? #19

Open Chris-Idema-WizzDev opened 3 years ago

Chris-Idema-WizzDev commented 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) ?

The define in TMC429_Register.h is:: #define TMC429_IDX_XLATCHED(motor) (0x1C|TMC429_MOTOR(motor)) So it takes a parameter.

trinamic-ASU commented 1 year ago

Thank you for your feedback. It has been updated.