From 799b8e78199c55c26618c21c64682f311789c78f Mon Sep 17 00:00:00 2001 From: reinelt Date: Tue, 11 Nov 2003 04:30:41 +0000 Subject: [lcd4linux @ 2003-11-11 04:30:41 by reinelt] very minor changes git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@270 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- TODO | 8 ++++++++ dvb.c | 9 ++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 285a735..d347647 100644 --- a/TODO +++ b/TODO @@ -137,3 +137,11 @@ of the full block configurable... 2003-09-14 Markus 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 +> 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 dc75359..cf60bf8 100644 --- 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; -- cgit v1.2.3