Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
linuxdvb rotor: fix orbital position check
  • Loading branch information
perexg committed Dec 14, 2014
1 parent f1fda28 commit 1145484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/linuxdvb/linuxdvb_rotor.c
Expand Up @@ -174,7 +174,7 @@ linuxdvb_rotor_check_orbital_pos
if (!pos)
return 0;

if (abs((int)((lr->lr_sat_lon + 0.05) / 10) - pos) > 2)
if (abs((int)((lr->lr_sat_lon + 0.05) * 10) - pos) > 2)
return 0;

dir = 'E';
Expand Down

0 comments on commit 1145484

Please sign in to comment.