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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 5846fae9c1..3d391d6685 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -306,6 +306,13 @@ static inline unsigned lcd_color_to_native(unsigned color)
306 306
307#endif /* HAVE_LCD_COLOR */ 307#endif /* HAVE_LCD_COLOR */
308 308
309/* Frame buffer stride */
310#if defined(LCD_STRIDEFORMAT) && LCD_STRIDEFORMAT == VERTICAL_STRIDE
311#define STRIDE(w, h) (h)
312#else
313#define STRIDE(w, h) (w)
314#endif
315
309/* Frame buffer dimensions */ 316/* Frame buffer dimensions */
310#if LCD_DEPTH == 1 317#if LCD_DEPTH == 1
311#if LCD_PIXELFORMAT == HORIZONTAL_PACKING 318#if LCD_PIXELFORMAT == HORIZONTAL_PACKING