summaryrefslogtreecommitdiff
path: root/firmware/export/lcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r--firmware/export/lcd.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 386ac5a8bf..b72989fdb5 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -535,20 +535,15 @@ extern void lcd_bmp_part(const struct bitmap* bm, int src_x, int src_y,
535extern void lcd_bmp(const struct bitmap* bm, int x, int y); 535extern void lcd_bmp(const struct bitmap* bm, int x, int y);
536extern void lcd_nine_segment_bmp(const struct bitmap* bm, int x, int y, 536extern void lcd_nine_segment_bmp(const struct bitmap* bm, int x, int y,
537 int width, int height); 537 int width, int height);
538#endif /* HAVE_LCD_BITMAP */
539
540
541#ifdef HAVE_TOUCHSCREEN
542/* only needed for touchscreen for now, feel free to implement it for others
543 * once needed
544 */
545 538
539/* TODO: Impement this for remote displays if ever needed */
546#if defined(LCD_DPI) && (LCD_DPI > 0) 540#if defined(LCD_DPI) && (LCD_DPI > 0)
547/* returns the pixel density of the display */ 541/* returns the pixel density of the display */
548static inline int lcd_get_dpi(void) { return LCD_DPI; } 542static inline int lcd_get_dpi(void) { return LCD_DPI; }
549#else 543#else
550extern int lcd_get_dpi(void); 544extern int lcd_get_dpi(void);
551#endif /* LCD_DPI */ 545#endif /* LCD_DPI */
552#endif /* HAVE_TOUCHSCREEN */ 546
547#endif /* HAVE_LCD_BITMAP */
553 548
554#endif /* __LCD_H__ */ 549#endif /* __LCD_H__ */