change check on orbital_pos to orbital_dir

This commit is contained in:
Gary The Brown 2014-08-04 17:48:40 +01:00 committed by Jaroslav Kysela
parent 70e650f20f
commit b64b07f5a3

View file

@ -135,7 +135,7 @@ linuxdvb_rotor_grace
{
linuxdvb_rotor_t *lr = (linuxdvb_rotor_t*)ld;
if (ld->ld_satconf->lse_parent->ls_orbital_pos == 0 || lr->lr_rate != 0)
if (!ld->ld_satconf->lse_parent->ls_orbital_dir || lr->lr_rate != 0)
return 120;
int curpos = ld->ld_satconf->lse_parent->ls_orbital_pos;