File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,11 @@ uint8_t lv_color_format_get_bpp(lv_color_format_t cf)
57
57
case LV_COLOR_FORMAT_A8 :
58
58
case LV_COLOR_FORMAT_I8 :
59
59
return 8 ;
60
+
61
+ case LV_COLOR_FORMAT_RGB565A8 :
60
62
case LV_COLOR_FORMAT_RGB565 :
61
63
return 16 ;
62
64
63
- case LV_COLOR_FORMAT_RGB565A8 :
64
65
case LV_COLOR_FORMAT_RGB888 :
65
66
return 24 ;
66
67
case LV_COLOR_FORMAT_ARGB8888 :
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ typedef uint8_t lv_opa_t;
75
75
(cf) == LV_COLOR_FORMAT_A8 ? 8 : \
76
76
(cf) == LV_COLOR_FORMAT_I8 ? 8 : \
77
77
(cf) == LV_COLOR_FORMAT_RGB565 ? 16 : \
78
- (cf) == LV_COLOR_FORMAT_RGB565A8 ? 24 : \
78
+ (cf) == LV_COLOR_FORMAT_RGB565A8 ? 16 : \
79
79
(cf) == LV_COLOR_FORMAT_RGB888 ? 24 : \
80
80
(cf) == LV_COLOR_FORMAT_ARGB8888 ? 32 : \
81
81
(cf) == LV_COLOR_FORMAT_XRGB8888 ? 32 : \
You can’t perform that action at this time.
0 commit comments