]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
linuxdvb rotor: Fix a little typo in USALS formula
authorJaroslav Kysela <perex@perex.cz>
Tue, 16 Dec 2014 19:27:59 +0000 (20:27 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Dec 2014 19:27:59 +0000 (20:27 +0100)
src/input/mpegts/linuxdvb/linuxdvb_rotor.c

index 68583ba2c0b3db45a113175b8df8e0354dd053f3..ef1effc47c8ade7106e16c9ebebe73314c318cfd 100644 (file)
@@ -228,7 +228,7 @@ sat_angle( linuxdvb_rotor_t *lr, linuxdvb_satconf_ele_t *ls )
   if (lsp->ls_site_lon_west)
     site_lon = 360 - site_lon;
   if (sat_lon < 0)
-    sat_lon = 360 - sat_lon;
+    sat_lon = 360 + sat_lon;
 
   double azimuth, elevation;