Skip to content

Commit bbb6fb8

Browse files
committed
autosync
1 parent fabf63d commit bbb6fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ODriveArduino.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void ODriveArduino::setState(ODriveAxisState requested_state) {
8181
}
8282

8383
ODriveAxisState ODriveArduino::getState() {
84-
return getParameterAsInt("axis0.current_state");
84+
return (ODriveAxisState)getParameterAsInt("axis0.current_state");
8585
}
8686

8787
String ODriveArduino::readLine(unsigned long timeout_ms) {

0 commit comments

Comments
 (0)