diff --git a/firmware/target/hosted/agptek/lcd-agptek.c b/firmware/target/hosted/agptek/lcd-agptek.c index ff5a8146a2..4b3148da03 100644 --- a/firmware/target/hosted/agptek/lcd-agptek.c +++ b/firmware/target/hosted/agptek/lcd-agptek.c @@ -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 diff --git a/firmware/target/hosted/agptek/lcd-target.h b/firmware/target/hosted/agptek/lcd-target.h index b6fcfdb98f..f7ed743aef 100644 --- a/firmware/target/hosted/agptek/lcd-target.h +++ b/firmware/target/hosted/agptek/lcd-target.h @@ -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__ */