diff options
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r-- | firmware/export/lcd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 37ad2b0cc2..fecf3f5426 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -151,7 +151,8 @@ typedef void lcd_fastpixelfunc_type(fb_data *address); | |||
151 | 151 | ||
152 | #ifdef HAVE_LCD_BITMAP | 152 | #ifdef HAVE_LCD_BITMAP |
153 | 153 | ||
154 | #if defined(HAVE_LCD_COLOR) && LCD_REMOTE_DEPTH > 1 | 154 | #if defined(HAVE_LCD_COLOR) && defined(LCD_REMOTE_DEPTH) && \ |
155 | LCD_REMOTE_DEPTH > 1 | ||
155 | /* Just return color for screens use */ | 156 | /* Just return color for screens use */ |
156 | static inline unsigned lcd_color_to_native(unsigned color) | 157 | static inline unsigned lcd_color_to_native(unsigned color) |
157 | { return color; } | 158 | { return color; } |