From: "michal" <[EMAIL PROTECTED]> > Revision 1.9: There appear to be several typos in this code:
> cpump = div < 175000000 ? 2 : div < 390000000 ? 1 : > div < 470000000 ? 2 : div < 750000000 ? 1 : 3; > > band_select = div < 175000000 ? 0x0e : div < 470000000 ? 0x05 : > 0x03; These comparions should apparently be against the *frequency*, not the divider. Thus, replace all "div" with "freq" in above lines. > buf [3] = cpump | band_select; Another bug. The charge pump bits are 7 and 6, not 1 and 0. Try buf [3] = (cpump << 6) | band-select; instead. Hope this helps, -- Robert Schlabbach e-mail: [EMAIL PROTECTED] Berlin, Germany -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.
