aboutsummaryrefslogtreecommitdiffstats
path: root/SIN.c
diff options
context:
space:
mode:
authorreinelt <>2003-07-24 04:48:09 +0000
committerreinelt <>2003-07-24 04:48:09 +0000
commit80ad6d155c1b974590f0c96b6291b0baa70b09d5 (patch)
treeb53a7102debdc89d8fe44e0c6b913019d78f60bc /SIN.c
parenta7a6b96ef3ef6a0abc6790addb8dc298ae7bb693 (diff)
downloadlcd4linux-80ad6d155c1b974590f0c96b6291b0baa70b09d5.tar.gz
[lcd4linux @ 2003-07-24 04:48:09 by reinelt]
'soft clear' needed for virtual rows
Diffstat (limited to 'SIN.c')
-rw-r--r--SIN.c11
1 files changed, 8 insertions, 3 deletions
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;
}