diff options
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r-- | firmware/export/lcd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 79231d198e..e6e19b1597 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -549,4 +549,14 @@ extern void lcd_bitmap_transparent(const fb_data *src, int x, int y, | |||
549 | 549 | ||
550 | #endif /* HAVE_LCD_BITMAP */ | 550 | #endif /* HAVE_LCD_BITMAP */ |
551 | 551 | ||
552 | |||
553 | #ifdef HAVE_TOUCHSCREEN | ||
554 | /* only needed for touchscreen for now, feel free to implement it for others | ||
555 | * once needed | ||
556 | */ | ||
557 | |||
558 | /* returns the pixel density of the display */ | ||
559 | extern int lcd_get_dpi(void); | ||
560 | #endif | ||
561 | |||
552 | #endif /* __LCD_H__ */ | 562 | #endif /* __LCD_H__ */ |