
Native threads deadlock fix
By: a guest on
Jan 20th, 2011 | syntax:
Diff | size: 0.60 KB | hits: 82 | expires: Never
diff --git a/firmware/target/hosted/sdl/lcd-sdl.c b/firmware/target/hosted/sdl/lcd-sdl.c
index 5559369..db63623 100644
--- a/firmware/target/hosted/sdl/lcd-sdl.c
+++ b/firmware/target/hosted/sdl/lcd-sdl.c
@@ -32,7 +32,8 @@ void sdl_update_rect(SDL_Surface *surface, int x_start, int y_start, int width,
{
SDL_Rect dest;
#if LCD_DEPTH >= 8 && (LCD_PIXELFORMAT == RGB565) \
- && !defined(LCD_STRIDEFORMAT) && !defined(HAVE_LCD_SPLIT)
+ && !defined(LCD_STRIDEFORMAT) && !defined(HAVE_LCD_SPLIT) \
+ && !defined(LCD_REMOTE_PIXELFORMAT)
SDL_Rect src;
(void)max_x;
(void)max_y;