analogdevicesinc / TMC-API

TRINAMIC's IC API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redefinition of ARRAY_SIZE macro

dennismalcorps opened this issue · comments

Hello everyone,

while working on integrating the TMC2300 into one of our projects, we got a redefinition warning of the above mentioned macro, because our microcontroller sdk implements this too. After a quick glimpse into your code, it turns out there is a missing #ifndev...#endif around ARRAY_SIZE.

Thank you for the suggestion and your valuable feedback. We have fixed this issue now.