linuxdvb rotor: fix orbital position check
This commit is contained in:
parent
f1fda287d8
commit
1145484e9f
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Reference in a new issue