From ea26e30c24bbe7a5d17a234ab4921615a0898aa9 Mon Sep 17 00:00:00 2001 From: marschap Date: Wed, 26 Dec 2007 15:46:01 +0000 Subject: [PATCH] iset ENTRYMODE after CLEAR to better conform to specs (M. Dolze) --- server/drivers/hd44780.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/drivers/hd44780.c b/server/drivers/hd44780.c index d89be0c..04eb6f6 100644 --- a/server/drivers/hd44780.c +++ b/server/drivers/hd44780.c @@ -479,10 +479,10 @@ common_init(PrivateData *p, unsigned char if_bit) p->hd44780_functions->uPause(p, 40); p->hd44780_functions->senddata(p, 0, RS_INSTR, ONOFFCTRL | DISPON | CURSOROFF | CURSORNOBLINK); p->hd44780_functions->uPause(p, 40); - p->hd44780_functions->senddata(p, 0, RS_INSTR, ENTRYMODE | E_MOVERIGHT | NOSCROLL); - p->hd44780_functions->uPause(p, 40); p->hd44780_functions->senddata(p, 0, RS_INSTR, CLEAR); p->hd44780_functions->uPause(p, 1600); + p->hd44780_functions->senddata(p, 0, RS_INSTR, ENTRYMODE | E_MOVERIGHT | NOSCROLL); + p->hd44780_functions->uPause(p, 40); p->hd44780_functions->senddata(p, 0, RS_INSTR, HOMECURSOR); p->hd44780_functions->uPause(p, 1600); }