cleanups
This commit is contained in:
parent
170fcca9bb
commit
8956b50eb2
1 changed files with 2 additions and 4 deletions
4
glcd.h
4
glcd.h
|
@ -41,9 +41,7 @@
|
|||
#define Yellow 0xFFE0
|
||||
|
||||
#define RGB565CONVERT(red, green, blue) \
|
||||
(uint16_t)( (( red >> 3 ) << 11 ) | \
|
||||
(( green >> 2 ) << 5 ) | \
|
||||
( blue >> 3 ))
|
||||
(uint16_t)( (( red >> 3 ) << 11 ) | (( green >> 2 ) << 5 ) | ( blue >> 3 ))
|
||||
|
||||
enum orientation {portrait, landscape, portraitInv, landscapeInv};
|
||||
enum filles{frame, filled};
|
||||
|
|
Loading…
Add table
Reference in a new issue