HD44780: start pins on init (#2576)

This fixes bug introduced in 7803968621
Sorry!
This commit is contained in:
Andrey G 2021-04-21 22:33:58 +03:00 committed by GitHub
parent a70f113b77
commit a867b3e286
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -238,6 +238,8 @@ void lcd_HD44780_init() {
if (!lcd_HD44780_is_enabled())
return;
startHD44780_pins();
chThdSleepMilliseconds(20); // LCD needs some time to wake up
lcd_HD44780_write(LCD_HD44780_RESET); // reset 1x
chThdSleepMilliseconds(1);