diff options
author | Joel Bodenmann <joel@unormal.org> | 2012-11-11 13:35:24 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2012-11-11 13:35:24 +0100 |
commit | e8ee122321b72e4e4229a8ac985313054e929703 (patch) | |
tree | 34b9ef7e5c30c5fc6492eaf9e0d7580f67162ac7 /include | |
parent | 933ea0a8661fe4552036d9a392bcf2e822e6f60a (diff) | |
download | uGFX-e8ee122321b72e4e4229a8ac985313054e929703.tar.gz uGFX-e8ee122321b72e4e4229a8ac985313054e929703.tar.bz2 uGFX-e8ee122321b72e4e4229a8ac985313054e929703.zip |
Revert "removed unused RGB565CONVERT. Please use RGB2COLOR instead"
This reverts commit 8231e9738c20bd676943638830fedeb71ca1195d.
Diffstat (limited to 'include')
-rw-r--r-- | include/gdisp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gdisp.h b/include/gdisp.h index 9be97a12..db865284 100644 --- a/include/gdisp.h +++ b/include/gdisp.h @@ -293,6 +293,7 @@ void gdispDrawBox(coord_t x, coord_t y, coord_t cx, coord_t cy, color_t color); /* Now obsolete functions */
#define gdispBlitArea(x, y, cx, cy, buffer) gdispBlitAreaEx(x, y, cx, cy, 0, 0, cx, buffer)
+#define RGB565CONVERT(r,g,b) RGB2COLOR(r,g,b)
/* Macro definitions for common gets and sets */
#define gdispSetPowerMode(powerMode) gdispControl(GDISP_CONTROL_POWER, (void *)(unsigned)(powerMode))
|