Hi Robert
I received BTT 2209 chips today and proceeded to recompile after changing config. I got an error on line 357 of driver_board.cpp:
} else if (_boardnum == PRO2ESP32TMC2209LGTM) || (_boardnum == PRO2ESP32TMC2209XIAOC3) {
I removed the two () like so and it compiled fine.
} else if (_boardnum == PRO2ESP32TMC2209LGTM || _boardnum == PRO2ESP32TMC2209XIAOC3) {
Not a very good C++ programmer so this may be incorrect but seems to work.
Jim
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert
I received BTT 2209 chips today and proceeded to recompile after changing config. I got an error on line 357 of driver_board.cpp:
} else if (_boardnum == PRO2ESP32TMC2209LGTM) || (_boardnum == PRO2ESP32TMC2209XIAOC3) {
I removed the two () like so and it compiled fine.
} else if (_boardnum == PRO2ESP32TMC2209LGTM || _boardnum == PRO2ESP32TMC2209XIAOC3) {
Not a very good C++ programmer so this may be incorrect but seems to work.
Jim
Hi
For esp32 reported issues - please use the esp32 site?
https://sourceforge.net/projects/myfocuserpro2-esp32/
Firmware version? was it 311-02 ?
The line should be
} else if (_boardnum == PRO2ESP32TMC2209LGTM || _boardnum == PRO2ESP32TMC2209XIAOC3) {
Seems you are better at C# programming than what you think)
Thanks for the report. I can confirm that it has already been fixed for the next release (no date has been set for this)
Regards
Robert
Thanks Robert, Yes it was 311-02. Sorry I thought there was just one discussion page. I wiil use the correct one in future.