Fix compiler warning in lv_color_to16
This commit is contained in:
@@ -373,9 +373,10 @@ static inline uint16_t lv_color_to16(lv_color_t color)
|
||||
#endif
|
||||
LV_COLOR_SET_B16(ret, LV_COLOR_GET_B(color) >> 3); /* 8 - 5 = 3*/
|
||||
return ret.full;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline uint32_t lv_color_to32(lv_color_t color)
|
||||
|
||||
Reference in New Issue
Block a user