aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glcd.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/glcd.h b/glcd.h
index 16ce20bf..280c0a76 100644
--- a/glcd.h
+++ b/glcd.h
@@ -40,10 +40,8 @@
#define Cyan 0x7FFF
#define Yellow 0xFFE0
-#define RGB565CONVERT(red, green, blue)\
-(uint16_t)( (( red >> 3 ) << 11 ) | \
-(( green >> 2 ) << 5 ) | \
-( blue >> 3 ))
+#define RGB565CONVERT(red, green, blue) \
+(uint16_t)( (( red >> 3 ) << 11 ) | (( green >> 2 ) << 5 ) | ( blue >> 3 ))
enum orientation {portrait, landscape, portraitInv, landscapeInv};
enum filles{frame, filled};