From 71ca824756c1c85c87d9f6219299f80686c195e3 Mon Sep 17 00:00:00 2001 From: Patrick Valk Date: Wed, 2 Nov 2016 11:32:41 +0100 Subject: [PATCH] fix --- server/drivers/hd44780.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/drivers/hd44780.c b/server/drivers/hd44780.c index 42dea2b..d1b2b2c 100644 --- a/server/drivers/hd44780.c +++ b/server/drivers/hd44780.c @@ -624,6 +624,7 @@ HD44780_position(Driver *drvthis, int x, int y) } //p->hd44780_functions->senddata(p, dispID, RS_INSTR, POSITION | DDaddr); + // 40X4 p->hd44780_functions->senddata(p, dispID, RS_INSTR, POSITION); p->hd44780_functions->uPause(p, 40); /* Minimum exec time for all commands */ @@ -723,6 +724,7 @@ HD44780_flush(Driver *drvthis) if (!p->cc[i].clean) { int row; + // 40X4 /* Tell the HD44780 we will redefine char number i */ p->hd44780_functions->senddata(p, 0, RS_INSTR, SETCHAR | i * 8); p->hd44780_functions->uPause(p, 40); /* Minimum exec time for all commands */