]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2003-11-11 04:30:41 by reinelt]
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Tue, 11 Nov 2003 04:30:41 +0000 (04:30 +0000)
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Tue, 11 Nov 2003 04:30:41 +0000 (04:30 +0000)
very minor changes

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@270 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

TODO
dvb.c

diff --git a/TODO b/TODO
index 285a735ebb3d8fb33e407754d1659846fd3d35e6..d347647ce3a218944c6eb686b21bf32e48935da0 100644 (file)
--- a/TODO
+++ b/TODO
@@ -137,3 +137,11 @@ of the full block configurable...
 2003-09-14 Markus <markus@norad.de>
 change %t tokens from Byte/sec to kB/sec, ith one decimal places. 
 Either make it configurabel, or add new tokens.
+
+2003-10-29 Matt Thrailkill <xwred1@modestolan.com>
+> To go off on another tangent... have you at all considered some sort of
+> marquee support?  I toyed with the row scrolling support which was
+> recently added, and it is nifty.  But marquees would be handy for doing
+> something like horizontally scrolling, say, the title of the currently
+> playing mp3.  I've toyed with trying to dive in and add it, but I'm a
+> pretty lazy guy and haven't done it.  What do you think?
diff --git a/dvb.c b/dvb.c
index dc7535941f2447678a99ad134b823eb52e6fd2d7..cf60bf8628e6d072f645c8bb380bf8ac2e811dd4 100644 (file)
--- a/dvb.c
+++ b/dvb.c
@@ -1,4 +1,4 @@
-/* $Id: dvb.c,v 1.6 2003/10/05 17:58:50 reinelt Exp $
+/* $Id: dvb.c,v 1.7 2003/11/11 04:30:41 reinelt Exp $
  *
  * DVB specific functions
  *
@@ -22,6 +22,9 @@
  *
  *
  * $Log: dvb.c,v $
+ * Revision 1.7  2003/11/11 04:30:41  reinelt
+ * very minor changes
+ *
  * Revision 1.6  2003/10/05 17:58:50  reinelt
  * libtool junk; copyright messages cleaned up
  *
@@ -106,13 +109,13 @@ int DVB (double *strength, double *snr)
     debug ("open (/dev/dvb/adapter0/frontend0)=%d", fd);
   }
 
-  if (ioctl(fd, FE_READ_SIGNAL_STRENGTH, &raw_strength)) {
+  if (ioctl(fd, FE_READ_SIGNAL_STRENGTH, &raw_strength)!=0) {
     error("ioctl(FE_READ_SIGNAL_STRENGTH) failed: %s", strerror(errno));
     fd=-1;
     return -1;
   }
   
-  if (ioctl(fd, FE_READ_SNR, &raw_snr)) {
+  if (ioctl(fd, FE_READ_SNR, &raw_snr)!=0) {
     error("ioctl(FE_READ_SNR) failed: %s", strerror(errno));
     fd=-1;
     return -1;