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 --- SIN.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'SIN.c') diff --git a/SIN.c b/SIN.c index 432978d..c878fee 100644 --- a/SIN.c +++ b/SIN.c @@ -1,4 +1,4 @@ -/* $Id: SIN.c,v 1.8 2003/02/22 07:53:10 reinelt Exp $ +/* $Id: SIN.c,v 1.9 2003/07/24 04:48:09 reinelt Exp $ * * driver for SIN router displays * @@ -20,6 +20,9 @@ * * * $Log: SIN.c,v $ + * Revision 1.9 2003/07/24 04:48:09 reinelt + * 'soft clear' needed for virtual rows + * * Revision 1.8 2003/02/22 07:53:10 reinelt * cfg_get(key,defval) * @@ -155,7 +158,7 @@ static void SIN_write (char *string, int len) } } -int SIN_clear (void) +int SIN_clear (int full) { int row, col; @@ -165,7 +168,9 @@ int SIN_clear (void) } } - SIN_write ("\033 ",2); + if (full) + SIN_write ("\033 ",2); + return 0; } -- cgit v1.2.3