aboutsummaryrefslogtreecommitdiffstats
path: root/drv_HD44780.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-08-10 20:40:46 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-08-10 20:40:46 +0000
commitbbf29d60c224ac063ca9ed807d8ed32c93a94fd3 (patch)
treea475320cb033e252d60992f6f3312171ec68f4d4 /drv_HD44780.c
parente28d0cad12698102e3e9ce200cd79f57f9fcf3a6 (diff)
downloadlcd4linux-bbf29d60c224ac063ca9ed807d8ed32c93a94fd3.tar.gz
[lcd4linux @ 2006-08-10 20:40:46 by reinelt]
M50530 enhancements: Timings, busy-flag checking git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@687 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_HD44780.c')
-rw-r--r--drv_HD44780.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drv_HD44780.c b/drv_HD44780.c
index b5064c5..a838044 100644
--- a/drv_HD44780.c
+++ b/drv_HD44780.c
@@ -1,4 +1,4 @@
-/* $Id: drv_HD44780.c,v 1.63 2006/07/29 20:59:12 lfcorreia Exp $
+/* $Id: drv_HD44780.c,v 1.64 2006/08/10 20:40:46 reinelt Exp $
*
* new style driver for HD44780-based displays
*
@@ -32,6 +32,9 @@
*
*
* $Log: drv_HD44780.c,v $
+ * Revision 1.64 2006/08/10 20:40:46 reinelt
+ * M50530 enhancements: Timings, busy-flag checking
+ *
* Revision 1.63 2006/07/29 20:59:12 lfcorreia
* Fix wrong timing at I2C initialization
*
@@ -490,7 +493,7 @@ static void drv_HD_PP_busy(const int controller)
/* get the current time */
gettimeofday(&now, NULL);
if (now.tv_sec == end.tv_sec ? now.tv_usec >= end.tv_usec : now.tv_sec >= end.tv_sec) {
- error("%s: timeout waiting for busy flag on controller %x (%x)", Name, ctrlmask, data);
+ error("%s: timeout waiting for busy flag on controller %x (0x%02x)", Name, ctrlmask, data);
if (++errors >= MAX_BUSYFLAG_ERRORS) {
error("%s: too many busy flag failures, turning off busy flag checking.", Name);
UseBusy = 0;
@@ -1486,7 +1489,7 @@ int drv_HD_init(const char *section, const int quiet)
int asc255bug;
int ret;
- info("%s: %s", Name, "$Revision: 1.63 $");
+ info("%s: %s", Name, "$Revision: 1.64 $");
/* display preferences */
XRES = 5; /* pixel width of one char */