diff options
Diffstat (limited to 'firmware/target/hosted/sdl/lcd-bitmap.c')
-rw-r--r-- | firmware/target/hosted/sdl/lcd-bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/lcd-bitmap.c b/firmware/target/hosted/sdl/lcd-bitmap.c index 5add2367a0..5f895d802d 100644 --- a/firmware/target/hosted/sdl/lcd-bitmap.c +++ b/firmware/target/hosted/sdl/lcd-bitmap.c | |||
@@ -112,7 +112,7 @@ static unsigned long get_lcd_pixel(int x, int y) | |||
112 | #else | 112 | #else |
113 | return *FBADDR(x, y); | 113 | return *FBADDR(x, y); |
114 | #endif | 114 | #endif |
115 | #elif LCD_DEPTH == 24 | 115 | #elif LCD_DEPTH >= 24 |
116 | return FB_UNPACK_SCALAR_LCD(*FBADDR(x, y)); | 116 | return FB_UNPACK_SCALAR_LCD(*FBADDR(x, y)); |
117 | #endif | 117 | #endif |
118 | } | 118 | } |