mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
lv_color1_t: Add 'ch' struct to union to fix 1bit color compilation error.
lv_color.h: Updated lv_color1_t union to include 'ch' structure. This fixes compilation errors when configured for 1bit color.
This commit is contained in:
parent
c86e2722bd
commit
3da868a090
@ -96,10 +96,13 @@ enum {
|
|||||||
|
|
||||||
typedef union
|
typedef union
|
||||||
{
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
uint8_t blue : 1;
|
uint8_t blue : 1;
|
||||||
uint8_t green : 1;
|
uint8_t green : 1;
|
||||||
uint8_t red : 1;
|
uint8_t red : 1;
|
||||||
uint8_t full : 1;
|
} ch;
|
||||||
|
uint8_t full;
|
||||||
} lv_color1_t;
|
} lv_color1_t;
|
||||||
|
|
||||||
typedef union
|
typedef union
|
||||||
|
Loading…
x
Reference in New Issue
Block a user