Agptek Rocker: Add missing lcd_set_active(true) in lcd_init_device()
This should fix problem introduced in 5c015ad
resulting
in not updating screen properly in wps.
Change-Id: Ie36b6edfcfc7d425c84381402adae79d77fcc92f
This commit is contained in:
parent
706e31b415
commit
28cfeed4c1
2 changed files with 6 additions and 0 deletions
|
@ -74,6 +74,10 @@ void lcd_init_device(void)
|
|||
{
|
||||
panicf("Cannot map framebuffer");
|
||||
}
|
||||
|
||||
#ifdef HAVE_LCD_ENABLE
|
||||
lcd_set_active(true);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef HAVE_LCD_SHUTDOWN
|
||||
|
|
|
@ -27,4 +27,6 @@
|
|||
|
||||
extern fb_data *framebuffer; /* see lcd-agptek.c */
|
||||
#define LCD_FRAMEBUF_ADDR(col, row) (framebuffer + (row)*LCD_WIDTH + (col))
|
||||
|
||||
extern void lcd_set_active(bool active);
|
||||
#endif /* __LCD_TARGET_H__ */
|
||||
|
|
Loading…
Reference in a new issue