diff options
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c index d952d3d40d..8620c672e1 100644 --- a/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c +++ b/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c | |||
@@ -38,7 +38,7 @@ | |||
38 | 38 | ||
39 | #if CONFIG_ORIENTATION == SCREEN_PORTRAIT | 39 | #if CONFIG_ORIENTATION == SCREEN_PORTRAIT |
40 | #define LCD_USE_DMA | 40 | #define LCD_USE_DMA |
41 | #elif defined(LCD_STRIDEFORMAT) && LCD_STRIDEFORMAT == VERTICAL_STRIDE | 41 | #elif LCD_STRIDEFORMAT == VERTICAL_STRIDE |
42 | #define LCD_USE_DMA | 42 | #define LCD_USE_DMA |
43 | #endif | 43 | #endif |
44 | 44 | ||
@@ -511,7 +511,7 @@ void lcd_update_rect(int x, int y, int width, int height) | |||
511 | 511 | ||
512 | #else | 512 | #else |
513 | 513 | ||
514 | #if defined(LCD_STRIDEFORMAT) && LCD_STRIDEFORMAT == VERTICAL_STRIDE | 514 | #if LCD_STRIDEFORMAT == VERTICAL_STRIDE |
515 | 515 | ||
516 | #if defined(LCD_USE_DMA) | 516 | #if defined(LCD_USE_DMA) |
517 | dma_start_transfer16( (char *)FBADDR(0,0), x, y, LCD_HEIGHT, | 517 | dma_start_transfer16( (char *)FBADDR(0,0), x, y, LCD_HEIGHT, |