Skip to content

Commit

Permalink
Missed a line in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ploof committed Apr 22, 2016
1 parent e5ff633 commit 4cbc514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMMotorFunctions/OMMotorFunctions.cpp
Expand Up @@ -740,7 +740,7 @@ void OMMotorFunctions::_updateContSpeed(){

//check to see if you need to reverse directions
if(m_contSpd <= m_contAccelRate/2.0 && m_contSpd >= m_contAccelRate/-2.0){
if(m_desiredContSpd >=0.0)
if (m_desiredContSpd > 0.0)
dir(1);
else if (m_desiredContSpd < 0.0)
dir(0);
Expand Down

0 comments on commit 4cbc514

Please sign in to comment.