diff --git a/docs/overview/color.md b/docs/overview/color.md index 2960f3ea08..5ec0de9afe 100644 --- a/docs/overview/color.md +++ b/docs/overview/color.md @@ -90,7 +90,7 @@ lv_color_t c = lv_color_mix(c1, c2, ratio); ``` ### Built-in colors -`lv_color_white()` and `lv_color_black` are return a color with `0xFFFFFF` and `0x000000`. +`lv_color_white()` and `lv_color_black()` are return a color with `0xFFFFFF` and `0x000000`. ## Opacity To describe opacity the `lv_opa_t` type is created as a wrapper to `uint8_t`. Some defines are also introduced: diff --git a/src/gpu/lv_gpu_nxp_pxp.c b/src/gpu/lv_gpu_nxp_pxp.c index 5d986938ac..97753e8225 100644 --- a/src/gpu/lv_gpu_nxp_pxp.c +++ b/src/gpu/lv_gpu_nxp_pxp.c @@ -119,7 +119,7 @@ lv_res_t lv_gpu_nxp_pxp_init(lv_nxp_pxp_cfg_t * cfg) return LV_RES_INV; } - colorKey = lv_color_to32(LV_COLOR_TRANSP); + colorKey = lv_color_to32(LV_COLOR_CHROMA_KEY); return LV_RES_OK; } @@ -299,7 +299,7 @@ void lv_gpu_nxp_pxp_blit(lv_color_t * dest, lv_coord_t dest_width, const lv_colo /** * @brief Enable color keying for subsequent calls to lv_gpu_nxp_pxp_blit() * - * Color key is defined by LV_COLOR_TRANSP symbol in lv_conf.h + * Color key is defined by symbol in lv_conf.h */ void lv_gpu_nxp_pxp_enable_color_key(void) {