aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/SSD1289/gdisp_lld_config.h
diff options
context:
space:
mode:
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