diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-09-02 01:42:18 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-09-02 01:42:18 +0000 |
commit | 0f3452e0be2bd35b5e662e467868cb3118b08416 (patch) | |
tree | b0f488be4e0bbe337d2743a8822cba08b94d4a20 /firmware/target | |
parent | 6ed463501ad1b11562cc2f2bc9b86dbd89927dbd (diff) |
M:Robe 500: fix warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22600 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c index fca2af0732..90c96384fb 100644 --- a/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c +++ b/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c @@ -33,7 +33,11 @@ #include "dsp-target.h" #include "dsp/ipc.h" +#if CONFIG_ORIENTATION == SCREEN_PORTRAIT +#define LCD_USE_DMA +#elif defined(LCD_STRIDEFORMAT) && LCD_STRIDEFORMAT == VERTICAL_STRIDE #define LCD_USE_DMA +#endif /* Copies a rectangle from one framebuffer to another. Can be used in single transfer mode with width = num pixels, and height = 1 which |