revert error.
This commit is contained in:
@@ -702,13 +702,13 @@ HD44780_flush(Driver *drvthis)
|
|||||||
for (drawing = 0; sp <= ep; x++, sp++, sq++) {
|
for (drawing = 0; sp <= ep; x++, sp++, sq++) {
|
||||||
|
|
||||||
/* x%8 is for 16x1 displays only ! */
|
/* x%8 is for 16x1 displays only ! */
|
||||||
// if (!drawing || (p->dispSizes[dispID-1] == 1 && p->width == 16 && (x % 8 == 0))) {
|
if (!drawing || (p->dispSizes[dispID-1] == 1 && p->width == 16 && (x % 8 == 0))) {
|
||||||
// drawing = 1;
|
drawing = 1;
|
||||||
// HD44780_position(drvthis,x,y);
|
HD44780_position(drvthis,x,y);
|
||||||
// }
|
}
|
||||||
|
|
||||||
// 40X4 fix?
|
// 40X4 fix? // NOT WORKING
|
||||||
HD44780_position(drvthis,x,y);
|
// HD44780_position(drvthis,x,y);
|
||||||
p->hd44780_functions->senddata(p, dispID, RS_DATA, *sp);
|
p->hd44780_functions->senddata(p, dispID, RS_DATA, *sp);
|
||||||
p->hd44780_functions->uPause(p, 40); /* Minimum exec time for all commands */
|
p->hd44780_functions->uPause(p, 40); /* Minimum exec time for all commands */
|
||||||
*sq = *sp; /* Update backing store */
|
*sq = *sp; /* Update backing store */
|
||||||
|
|||||||
Reference in New Issue
Block a user