aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-07-24 04:48:09 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-07-24 04:48:09 +0000
commit7ed5b7a1b4bc3cc31aa89bba015c3a5e856b2ad8 (patch)
treeb53a7102debdc89d8fe44e0c6b913019d78f60bc /display.c
parent93be7266dd3f05b297c7b25920d6362452a447f9 (diff)
downloadlcd4linux-7ed5b7a1b4bc3cc31aa89bba015c3a5e856b2ad8.tar.gz
[lcd4linux @ 2003-07-24 04:48:09 by reinelt]
'soft clear' needed for virtual rows git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@202 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r--display.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/display.c b/display.c
index c376284..89b6f86 100644
--- a/display.c
+++ b/display.c
@@ -1,4 +1,4 @@
-/* $Id: display.c,v 1.34 2002/12/05 19:09:57 reinelt Exp $
+/* $Id: display.c,v 1.35 2003/07/24 04:48:09 reinelt Exp $
*
* framework for device drivers
*
@@ -20,6 +20,9 @@
*
*
* $Log: display.c,v $
+ * Revision 1.35 2003/07/24 04:48:09 reinelt
+ * 'soft clear' needed for virtual rows
+ *
* Revision 1.34 2002/12/05 19:09:57 reinelt
* patches for gcc-3.2
*
@@ -314,10 +317,10 @@ int lcd_query (int *rows, int *cols, int *xres, int *yres, int *bars, int *gpos)
return 0;
}
-int lcd_clear (void)
+int lcd_clear (int full)
{
if (Lcd->clear==NULL) return 0;
- return Lcd->clear();
+ return Lcd->clear(full);
}
int lcd_put (int row, int col, char *text)