analogdevicesinc / TMC-API

TRINAMIC's IC API
MIT License
188 stars 83 forks source link

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

Closed slava-medacuity closed 11 months 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 11 months ago

Thank you for your feedback. We have updated it.