Commit e122a04b authored by markus's avatar markus

Change rot0r ports

parent cdf748d2
......@@ -93,18 +93,18 @@ void Rotor::doRotor()
stopElevation();
else {
if(diff_elev > 0)
rotateUp();
else
rotateDown();
else
rotateUp();
}
}
else {
if(abs(diff_elev) > ELEV_SPAN) {
releaseBreakElevation();
if(diff_elev > 0)
rotateUp();
else
rotateDown();
else
rotateUp();
}
}
}
......
......@@ -49,8 +49,8 @@
#define AZIM_RE_CCW 47
#define AZIM_RE_BREAK 41
// Elevation
#define ELEV_RE_UP 43
#define ELEV_RE_DWN 45
#define ELEV_RE_UP 45
#define ELEV_RE_DWN 43
#define ELEV_RE_BREAK 41
......
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