fix for small error in code zigzag found

This commit is contained in:
Gary The Brown 2014-08-04 18:55:23 +01:00
parent 7e442f4be6
commit b887b6d4c7

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_dir || 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;