Mailing List archive

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

[linux-dvb] Twinhan DVB-T



Hi Jamie,

I tried your new version of dst. I had to make one small change (below) 
to make it work with my Twihnan DVB-T card. I guess my information wasn't
entirely correct. I'll have another look at it soon.

Regards,
Dmitri

diff -u -r1.3 dst.c
--- linux/drivers/media/dvb/frontends/dst.c     28 Oct 2003 05:41:51 -0000      1.3
+++ linux/drivers/media/dvb/frontends/dst.c     1 Nov 2003 07:01:23 -0000
@@ -612,10 +612,10 @@
                                dst->rxbuffer[3];
                } else if (dst->type_flags & 
                                (DST_TYPE_HAS_TERR|DST_TYPE_HAS_CABLE)) {
-                       dst->decode_lock = (dst->rxbuffer[2]) ?
+                       dst->decode_lock = (dst->rxbuffer[1]) ?
                                        1 : 0;
-                       dst->decode_strength = dst->rxbuffer[6] << 8;
-                       dst->decode_snr = dst->rxbuffer[4] << 8;
+                       dst->decode_strength = dst->rxbuffer[4] << 8;
+                       dst->decode_snr = dst->rxbuffer[3] << 8;
                }
                dst->cur_jiff = jiffies;
        }




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



Home | Main Index | Thread Index