Commit e122a04b authored by markus's avatar markus
Browse files

Change rot0r ports

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