summaryrefslogtreecommitdiff
path: root/positioner.c
diff options
context:
space:
mode:
Diffstat (limited to 'positioner.c')
-rw-r--r--positioner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/positioner.c b/positioner.c
index 8b9d2703..c701079e 100644
--- a/positioner.c
+++ b/positioner.c
@@ -7,7 +7,7 @@
* For an explanation (in German) of the theory behind the calculations see
* http://www.vdr-portal.de/board17-developer/board97-vdr-core/p1154305-grundlagen-und-winkelberechnungen-f%C3%BCr-h-h-diseqc-motor-antennenanlagen
*
- * $Id: positioner.c 3.2 2013/10/10 14:14:10 kls Exp $
+ * $Id: positioner.c 3.3 2013/10/20 09:30:03 kls Exp $
*/
#include "positioner.h"
@@ -71,7 +71,7 @@ int cPositioner::HorizonLongitude(ePositionerDirection Direction)
if (abs(Setup.SiteLat) < SAT_VISIBILITY_LAT)
Delta = acos(SAT_EARTH_RATIO / cos(RAD(Setup.SiteLat)));
else
- Delta = RAD(145);
+ Delta = 0;
if ((Setup.SiteLat >= 0) != (Direction == pdLeft))
Delta = -Delta;
return NormalizeAngle(round(DEG(RAD(Setup.SiteLon) + Delta)));