aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-05-19 05:55:17 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-05-19 05:55:17 +0000
commit74404ae0ab0dcac3ba7b2d0555414f9e8074cdd8 (patch)
treeedeb578df82b73f587c6fc1d94a1f0a5bc677cac
parentad4f384780a38006e475bb5e553385d373183cca (diff)
downloadlcd4linux-74404ae0ab0dcac3ba7b2d0555414f9e8074cdd8.tar.gz
[lcd4linux @ 2003-05-19 05:55:17 by reinelt]
Cwlinux sleep optimization git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@191 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r--Cwlinux.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/Cwlinux.c b/Cwlinux.c
index 14f337b..fe89431 100644
--- a/Cwlinux.c
+++ b/Cwlinux.c
@@ -1,4 +1,4 @@
-/* $Id: Cwlinux.c,v 1.7 2003/05/14 06:17:39 reinelt Exp $
+/* $Id: Cwlinux.c,v 1.8 2003/05/19 05:55:17 reinelt Exp $
*
* driver for Cwlinux serial display modules
*
@@ -20,6 +20,9 @@
*
*
* $Log: Cwlinux.c,v $
+ * Revision 1.8 2003/05/19 05:55:17 reinelt
+ * Cwlinux sleep optimization
+ *
* Revision 1.7 2003/05/14 06:17:39 reinelt
* added support for CW1602
*
@@ -192,7 +195,7 @@ static void CW1602_define_char (int ascii, char *buffer)
cmd[3+i]=buffer[i];
}
CW_write(cmd,12);
- sleep(1); // delay for cw1602 to settle the character defined!
+ usleep(20); // delay for cw1602 to settle the character defined!
}