From 80ad6d155c1b974590f0c96b6291b0baa70b09d5 Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Thu, 24 Jul 2003 04:48:09 +0000 Subject: [lcd4linux @ 2003-07-24 04:48:09 by reinelt] 'soft clear' needed for virtual rows --- USBLCD.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'USBLCD.c') diff --git a/USBLCD.c b/USBLCD.c index a2479e9..6d58c61 100644 --- a/USBLCD.c +++ b/USBLCD.c @@ -1,4 +1,4 @@ -/* $Id: USBLCD.c,v 1.9 2003/04/04 06:01:59 reinelt Exp $ +/* $Id: USBLCD.c,v 1.10 2003/07/24 04:48:09 reinelt Exp $ * * Driver for USBLCD ( see http://www.usblcd.de ) * This Driver is based on HD44780.c @@ -22,6 +22,9 @@ * * * $Log: USBLCD.c,v $ + * Revision 1.10 2003/07/24 04:48:09 reinelt + * 'soft clear' needed for virtual rows + * * Revision 1.9 2003/04/04 06:01:59 reinelt * new parallel port abstraction scheme * @@ -190,19 +193,20 @@ static void USBLCD_define_char (int ascii, char *buffer) } -int USBLCD_clear (void) +int USBLCD_clear (int full) { int row, col; - + for (row=0; row