aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/SSD1289/gdisp_lld_config.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-12-17 10:49:09 +1000
committerinmarket <andrewh@inmarket.com.au>2014-12-17 10:49:09 +1000
commite5d69abf020920c31cc721547cf5f0fb9ff9975c (patch)
tree2325b80cfc4f5c524ea62f6eb8925935fb5366be /drivers/gdisp/SSD1289/gdisp_lld_config.h
parent05354e057d59b3d6fe47a6e3c0c979080b091108 (diff)
downloaduGFX-e5d69abf020920c31cc721547cf5f0fb9ff9975c.tar.gz
uGFX-e5d69abf020920c31cc721547cf5f0fb9ff9975c.tar.bz2
uGFX-e5d69abf020920c31cc721547cf5f0fb9ff9975c.zip
Update SSD1289 and SSD2119 drivers to support using CCM memory for stack when using DMA.
Use GDISP_NO_DMA_FROM_STACK.
Diffstat (limited to 'drivers/gdisp/SSD1289/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/SSD1289/gdisp_lld_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gdisp/SSD1289/gdisp_lld_config.h b/drivers/gdisp/SSD1289/gdisp_lld_config.h
index 8d327bf9..4b882df1 100644
--- a/drivers/gdisp/SSD1289/gdisp_lld_config.h
+++ b/drivers/gdisp/SSD1289/gdisp_lld_config.h
@@ -19,7 +19,7 @@
#define GDISP_HARDWARE_STREAM_POS TRUE
#define GDISP_HARDWARE_CONTROL TRUE
-#if defined(GDISP_USE_DMA)
+#if defined(GDISP_USE_DMA) && GDISP_USE_DMA
#define GDISP_HARDWARE_FILLS TRUE
#if !defined(GDISP_PIXELFORMAT) || GDISP_PIXELFORMAT == 0x2565
// Hardware BitBlts are only supported in native pixel format on this controller