simplefoc / Arduino-FOC-drivers

Drivers and support code for SimpleFOC
https://docs.simplefoc.com/drivers_library
MIT License
146 stars 63 forks source link

Bug in MT6835.cpp: register write command wrong #19

Closed c031917 closed 1 year ago

c031917 commented 1 year ago

in file MT6835.cpp the line 261 cmd.cmd = MT6835_OP_READ; must be: cmd.cmd = MT6835_OP_WRITE;

Cheers Husky

runger1101001 commented 1 year ago

Thanks for reporting it and for testing out the driver!! It will be fixed in the next release.

runger1101001 commented 1 year ago

Fixed in 9b03b5d9e9a298714a90b18f2842c639c21bb693

runger1101001 commented 1 year ago

This has been merged and released