[PATCH] Re: [linux-dvb] Twinhan fails horizontal initial scan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Allan Stirling wrote:
>
> It's now working. I had to change:
> 
> --- dst.c~      2005-06-20 17:49:54.730668000 +0100
> +++ dst.c       2005-06-20 17:49:54.734668000 +0100
> @@ -325,12 +325,12 @@
>         switch (state->voltage) {
>                 case SEC_VOLTAGE_13:    // vertical
>                         printk("%s: Polarization=[Vertical]\n", 
> __FUNCTION__);
> -                       state->tx_tuna[8] |= 0x40;  //1
> +                       state->tx_tuna[8] =~ 0x40;  //1
>                         break;
> 
>                 case SEC_VOLTAGE_18:    // horizontal
>                         printk("%s: Polarization=[Horizontal]\n", 
> __FUNCTION__);
> -                       state->tx_tuna[8] =~ 0x40;  // 0
> +                       state->tx_tuna[8] |= 0x40;  // 0
>                         break;

Those "=~ 0x40" look bogus.

"|= 0x40" sets the bit and "&= ~0x40" clears it.

Ciao, ET.



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux