aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-08-24 10:43:09 +0200
committerTectu <joel@unormal.org>2012-08-24 10:43:09 +0200
commita0162b98c892726da2ba33f3fbde9a16cdb75911 (patch)
tree2891a0664d9ba162a14c88941728f6ce1d3a5df3 /drivers
parentca8a2f3e1151239afbe0513d40e3a15be04dc1fa (diff)
downloaduGFX-a0162b98c892726da2ba33f3fbde9a16cdb75911.tar.gz
uGFX-a0162b98c892726da2ba33f3fbde9a16cdb75911.tar.bz2
uGFX-a0162b98c892726da2ba33f3fbde9a16cdb75911.zip
fixed SSD1289 driver
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gdisp/SSD1289/gdisp_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gdisp/SSD1289/gdisp_lld.c b/drivers/gdisp/SSD1289/gdisp_lld.c
index f9a25d84..5f017b37 100644
--- a/drivers/gdisp/SSD1289/gdisp_lld.c
+++ b/drivers/gdisp/SSD1289/gdisp_lld.c
@@ -480,7 +480,7 @@ void GDISP_LLD(drawpixel)(coord_t x, coord_t y, color_t color) {
}
#endif
-#if GDISP_HARDWARE_CONTROL || defined(__DOXYGEN__)
+#if (GDISP_NEED_CONTROL && GDISP_HARDWARE_CONTROL) || defined(__DOXYGEN__)
/**
* @brief Driver Control
* @detail Unsupported control codes are ignored.