Quellcode durchsuchen

lcd: fix console address is not initialized

This commit 904672e (lcd: refactor lcd console stuff into its
own file), which cause lcd console address is not initialized.

This patch initialize the lcd console use the default value,
will be update when splash screen is enabled.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Bo Shen vor 10 Jahren
Ursprung
Commit
2af13d6b62
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      common/lcd.c

+ 1 - 0
common/lcd.c

@@ -268,6 +268,7 @@ void lcd_clear(void)
 	console_rows = panel_info.vl_row / VIDEO_FONT_HEIGHT;
 	console_rows = panel_info.vl_row / VIDEO_FONT_HEIGHT;
 #endif
 #endif
 	console_cols = panel_info.vl_col / VIDEO_FONT_WIDTH;
 	console_cols = panel_info.vl_col / VIDEO_FONT_WIDTH;
+	lcd_init_console(lcd_base, console_rows, console_cols);
 	lcd_init_console(lcd_logo(), console_rows, console_cols);
 	lcd_init_console(lcd_logo(), console_rows, console_cols);
 	lcd_sync();
 	lcd_sync();
 }
 }