analogdevicesinc / TMC-API

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

TMC6100 api is using int type assuming it's 32 bit #33

Closed slava-medacuity closed 1 year ago

slava-medacuity commented 1 year ago

int should be changed to int32_t explicitly ` int tmc6100_readInt(uint8_t motor, uint8_t address) -> int32_t tmc6100_readInt(uint8_t motor, uint8_t address)

void tmc6100_writeInt(uint8_t motor, uint8_t address, int value) -> void tmc6100_writeInt(uint8_t motor, uint8_t address, int32_t value) `

trinamic-ASU commented 1 year ago

Thank you for your feedback. We have updated it.