linuxdvb rotor: fix orbital position check

This commit is contained in:
Jaroslav Kysela 2014-12-15 00:22:34 +01:00
parent f1fda287d8
commit 1145484e9f

View file

@ -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';