tommag / TMC5160_Arduino

Arduino library for Trinamic TMC5160 stepper motor driver
MIT License
69 stars 24 forks source link

compile error #4

Closed buddy-brakel closed 3 years ago

buddy-brakel commented 3 years ago

Getting an error when compiling TMC5160 Config Wizard.

line 404: TMC5160::MotorParameters motorParams = {32, 0, 0};

ERROR: Could not convert '{32, 0, 0}' from 'braced-enclosed initializer list' to 'TMC5160::MotorParameters'

Arduino IDE version 1.9.0-beta.

tommag commented 3 years ago

Thanks for reporting! Which board/architecture are you compiling for?

buddy-brakel commented 3 years ago

ESP32 Dev Module

tommag commented 3 years ago

Fixed in https://github.com/tommag/TMC5160_Arduino/commit/fbe2917ffaa95e27a39ff2f14acf3551ce84a725.