aboutsummaryrefslogtreecommitdiffstats
path: root/PalmPilot.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 /PalmPilot.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 'PalmPilot.c')
-rw-r--r--PalmPilot.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/PalmPilot.c b/PalmPilot.c
index 1fad1ed..9527dfe 100644
--- a/PalmPilot.c
+++ b/PalmPilot.c
@@ -1,4 +1,4 @@
-/* $Id: PalmPilot.c,v 1.8 2003/02/22 07:53:10 reinelt Exp $
+/* $Id: PalmPilot.c,v 1.9 2003/07/24 04:48:09 reinelt Exp $
*
* driver for 3Com Palm Pilot
*
@@ -20,6 +20,9 @@
*
*
* $Log: PalmPilot.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)
*
@@ -193,12 +196,15 @@ int Palm_flush (void)
return 0;
}
-int Palm_clear (void)
+int Palm_clear (int full)
{
if (pix_clear()!=0)
return -1;
- return Palm_flush();
+ if (full)
+ return Palm_flush();
+
+ return 0;
}
int Palm_init (LCD *Self)