Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Problem: FE_GET_FRONTEND frequency in alps_bsrv2.c
Wolfgang Thiel writes:
> many thanks for your help.
>
> This code works quite well:
>
> afc = ((int)((char)(ves1893_readreg (i2c, 0x0a) << 1)))/2;
> afc = (afc * (int)((p->u.qpsk.symbol_rate/1000)/8))/16;
>
> p->frequency -= afc;
>
> So, I only added the "/1000" and changed the "+= afc" to "-= afc.
Oops, yes, somebody changed the frequency units used in the driver for DVB-S
from Hz to kHz.
Regarding the +/-, which frequency is returned using "-=" now?
The one which was tuned to or the one you have to tune to to get a
zero afc register?
Ralph
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index