You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using both the SimpleFOC and STM32Ethernet library in a project the definitions of DriverType and EthernetLinkStatus conflict as they both use Unknown in the definition.
Describe the hardware setup
Nucleo F429ZI with SimpleFOC shield v2
IDE you are using
Platformio
Suggested solution
Change "Unknown" to "UnknownDriver" in line 16 of FOCDriver.h and line 37 of CurrentSense.h
The text was updated successfully, but these errors were encountered:
For the moment I have changed it in the way you have suggested. The real solution would be to use namespaces, but changing to use a namespace would be a big change requiring lots of documentation updates. So for the moment I think your approach is good. :-)
I've made the change on the dev branch, so you could use that branch of the library to fix your problem for now. The change will be part of the next library release, version 2.3.5.
Describe the bug
When using both the SimpleFOC and STM32Ethernet library in a project the definitions of DriverType and EthernetLinkStatus conflict as they both use Unknown in the definition.
Describe the hardware setup
Nucleo F429ZI with SimpleFOC shield v2
IDE you are using
Platformio
Suggested solution
Change "Unknown" to "UnknownDriver" in line 16 of FOCDriver.h and line 37 of CurrentSense.h
The text was updated successfully, but these errors were encountered: