aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreinelt <>2003-05-19 05:55:17 +0000
committerreinelt <>2003-05-19 05:55:17 +0000
commit3cbab922117d3ed096cf33a5b8bd6c957f7a7a48 (patch)
treeedeb578df82b73f587c6fc1d94a1f0a5bc677cac
parent6ada7a5197df7b35bbce9b3f772a9e272d472324 (diff)
downloadlcd4linux-3cbab922117d3ed096cf33a5b8bd6c957f7a7a48.tar.gz
[lcd4linux @ 2003-05-19 05:55:17 by reinelt]
Cwlinux sleep optimization
-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!
}