Merge pull request #1245 from cpegeo/dev-6.1
lv_color1_t: Add 'ch' struct to union to fix 1bit color compilation error
This commit is contained in:
@@ -96,10 +96,13 @@ enum {
|
|||||||
|
|
||||||
typedef union
|
typedef union
|
||||||
{
|
{
|
||||||
uint8_t blue : 1;
|
struct
|
||||||
uint8_t green : 1;
|
{
|
||||||
uint8_t red : 1;
|
uint8_t blue : 1;
|
||||||
uint8_t full : 1;
|
uint8_t green : 1;
|
||||||
|
uint8_t red : 1;
|
||||||
|
} ch;
|
||||||
|
uint8_t full;
|
||||||
} lv_color1_t;
|
} lv_color1_t;
|
||||||
|
|
||||||
typedef union
|
typedef union
|
||||||
|
|||||||
Reference in New Issue
Block a user