aboutsummaryrefslogtreecommitdiffstats
path: root/include/gdisp_lld.h
diff options
context:
space:
mode:
authorAndrew Hannam <andrewh@inmarket.com.au>2012-11-10 15:11:39 +1000
committerAndrew Hannam <andrewh@inmarket.com.au>2012-11-10 15:11:39 +1000
commitc069817f0c91ebbc8baa67cfade692f263a90d05 (patch)
treed1383570fc46807b0b01943f25477756b9231856 /include/gdisp_lld.h
parent0eeb2a2b8f0c6bfb77256522c720e6915d57c217 (diff)
downloaduGFX-c069817f0c91ebbc8baa67cfade692f263a90d05.tar.gz
uGFX-c069817f0c91ebbc8baa67cfade692f263a90d05.tar.bz2
uGFX-c069817f0c91ebbc8baa67cfade692f263a90d05.zip
Removed some hardware dependancies in HL drivers
Removed some hardware dependancies in high level drivers that had crept in over time.
Diffstat (limited to 'include/gdisp_lld.h')
-rw-r--r--include/gdisp_lld.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/gdisp_lld.h b/include/gdisp_lld.h
index 8b7dd0e7..1a78e448 100644
--- a/include/gdisp_lld.h
+++ b/include/gdisp_lld.h
@@ -468,8 +468,6 @@
#define RED_OF(c) (((c) & 0xF800)>>8)
#define GREEN_OF(c) (((c)&0x007E)>>3)
#define BLUE_OF(c) (((c)&0x001F)<<3)
- #define RGB565CONVERT(red, green, blue) (uint16_t)( (( red >> 3 ) << 11 ) | (( green >> 2 ) << 5 ) | ( blue >> 3 ))
-
#elif GDISP_PIXELFORMAT == GDISP_PIXELFORMAT_RGB888
typedef uint32_t color_t;