From 4af4f9434259a369bdfaafbe75aa41163f0296c4 Mon Sep 17 00:00:00 2001 From: reinelt Date: Sun, 11 Feb 2001 23:34:07 +0000 Subject: [lcd4linux @ 2001-02-11 23:34:07 by reinelt] fixed a small bug where the throughput of an offline ISDN connection is displayed as '----', but the online value is 5 chars long. corrected to ' ----'. thanks to Carsten Nau git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@76 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- TODO | 9 ++++++++- processor.c | 11 +++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index ef90d30..323a7a6 100644 --- a/TODO +++ b/TODO @@ -26,4 +26,11 @@ numbers can be used for bars, too 2000-12-03 Ghassan Matar accept data from external sources (fifo?) -$Id: TODO,v 1.3 2000/12/07 20:47:54 reinelt Exp $ +2001-02-11 Carsten Nau +connect a LED to a spare pin of the parallel port and show if ISDN +is online + +2001-01-27 Axel Ehnert +- display numer of emails in a mailbox +- display seti@home values + diff --git a/processor.c b/processor.c index 9a2e9ab..752c48f 100644 --- a/processor.c +++ b/processor.c @@ -1,4 +1,4 @@ -/* $Id: processor.c,v 1.8 2000/08/10 09:44:09 reinelt Exp $ +/* $Id: processor.c,v 1.9 2001/02/11 23:34:07 reinelt Exp $ * * main data processing * @@ -20,6 +20,13 @@ * * * $Log: processor.c,v $ + * Revision 1.9 2001/02/11 23:34:07 reinelt + * + * + * fixed a small bug where the throughput of an offline ISDN connection is displayed as '----', but the + * online value is 5 chars long. corrected to ' ----'. + * thanks to Carsten Nau + * * Revision 1.8 2000/08/10 09:44:09 reinelt * * new debugging scheme: error(), info(), debug() @@ -331,7 +338,7 @@ static void print_token (int token, char **p) if (isdn.usage) *p+=sprintf (*p, "%5.0f", query(token)); else - *p+=sprintf (*p, "----"); + *p+=sprintf (*p, " ----"); break; default: *p+=sprintf (*p, "%5.0f", query(token)); -- cgit v1.2.3