We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fabf63d commit bbb6fb8Copy full SHA for bbb6fb8
src/ODriveArduino.cpp
@@ -81,7 +81,7 @@ void ODriveArduino::setState(ODriveAxisState requested_state) {
81
}
82
83
ODriveAxisState ODriveArduino::getState() {
84
- return getParameterAsInt("axis0.current_state");
+ return (ODriveAxisState)getParameterAsInt("axis0.current_state");
85
86
87
String ODriveArduino::readLine(unsigned long timeout_ms) {
0 commit comments