Commit 9245997a authored by Markus's avatar Markus
Browse files

Remove debug behaviour

parent 65352c42
...@@ -89,13 +89,8 @@ void CRotor::doRotor() ...@@ -89,13 +89,8 @@ void CRotor::doRotor()
{ {
diff_elev = m_uActualElevation - m_uSetElevation; diff_elev = m_uActualElevation - m_uSetElevation;
if(m_bElevationCurrentlyRotating) { if(m_bElevationCurrentlyRotating) {
if(abs(diff_elev) < ELEV_RES) { if(abs(diff_elev) < ELEV_RES)
stopElevation(); stopElevation();
if(m_uSetElevation >= 90)
{setElevation(20);}
else
{setElevation(130);}
}
else { else {
if(diff_elev > 0) if(diff_elev > 0)
rotateUp(); rotateUp();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment