Commit 9245997a authored by Markus's avatar Markus

Remove debug behaviour

parent 65352c42
......@@ -89,13 +89,8 @@ void CRotor::doRotor()
{
diff_elev = m_uActualElevation - m_uSetElevation;
if(m_bElevationCurrentlyRotating) {
if(abs(diff_elev) < ELEV_RES) {
if(abs(diff_elev) < ELEV_RES)
stopElevation();
if(m_uSetElevation >= 90)
{setElevation(20);}
else
{setElevation(130);}
}
else {
if(diff_elev > 0)
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