hd44780: fix 4-bit data length flag

This commit is contained in:
Drayton Munster
2022-01-17 01:18:47 -05:00
committed by Ron Evans
parent 80913d5fe7
commit 905fc6fce3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ func (d *Device) Configure(cfg Config) error {
}
if d.datalength == DATA_LENGTH_4BIT {
d.bus.Write([]byte{DATA_LENGTH_4BIT >> 4})
d.bus.Write([]byte{DATA_LENGTH_4BIT})
}
// Busy flag is now accessible