Guest User

Remote LCD display fix

a guest
Jan 20th, 2011
163
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/firmware/target/hosted/sdl/lcd-sdl.c b/firmware/target/hosted/sdl/lcd-sdl.c
  2. index 5559369..db63623 100644
  3. --- a/firmware/target/hosted/sdl/lcd-sdl.c
  4. +++ b/firmware/target/hosted/sdl/lcd-sdl.c
  5. @@ -32,7 +32,8 @@ void sdl_update_rect(SDL_Surface *surface, int x_start, int y_start, int width,
  6.  {
  7.      SDL_Rect dest;
  8.  #if LCD_DEPTH >= 8 && (LCD_PIXELFORMAT == RGB565) \
  9. -    && !defined(LCD_STRIDEFORMAT) && !defined(HAVE_LCD_SPLIT)
  10. +    && !defined(LCD_STRIDEFORMAT) && !defined(HAVE_LCD_SPLIT) \
  11. +    && !defined(HAVE_REMOTE_LCD)
  12.      SDL_Rect src;
  13.      (void)max_x;
  14.      (void)max_y;
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×