diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/sansa-connect')
-rw-r--r-- | firmware/target/arm/tms320dm320/sansa-connect/lcd-sansaconnect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/tms320dm320/sansa-connect/lcd-sansaconnect.c b/firmware/target/arm/tms320dm320/sansa-connect/lcd-sansaconnect.c index 403ce182be..27eb0b407a 100644 --- a/firmware/target/arm/tms320dm320/sansa-connect/lcd-sansaconnect.c +++ b/firmware/target/arm/tms320dm320/sansa-connect/lcd-sansaconnect.c @@ -167,7 +167,7 @@ static void dma_lcd_copy_buffer_rect(int x, int y, int width, int height) /* Set source and destination addresses */ dst = (char*)(FRAME + LCD_WIDTH*y + x); - src = (char*)(&lcd_framebuffer[y][x]); + src = (char*)(FBADDR(x,y)); /* Flush cache to memory */ commit_dcache(); |