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



Hi Ralph and Holger,

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.


Wolfgang


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index