Skip to content

Commit c9de027

Browse files
Update CiA402MotionControl/CiA402MotionControl.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e31c199 commit c9de027

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CiA402MotionControl/CiA402MotionControl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3791,7 +3791,7 @@ bool CiA402MotionControl::setRefCurrent(int m, double curr)
37913791
m_impl->setPoints.motorCurrents[m] = curr;
37923792
m_impl->setPoints.hasCurrentSP[m] = true; // (b)
37933793

3794-
return false;
3794+
return true;
37953795
}
37963796

37973797
bool CiA402MotionControl::setRefCurrents(const int n_motor, const int* motors, const double* currs)

0 commit comments

Comments
 (0)