drivers: display: stm32: add missing break statement
Add missing break statement causing incorrect fallthrough for ARGB_8888 Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
dcec4ee653
commit
0f60efe217
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ static int stm32_ltdc_set_pixel_format(const struct device *dev,
|
|||
err = HAL_LTDC_SetPixelFormat(&data->hltdc, LTDC_PIXEL_FORMAT_ARGB8888, 0);
|
||||
data->current_pixel_format = PIXEL_FORMAT_ARGB_8888;
|
||||
data->current_pixel_size = 4u;
|
||||
break;
|
||||
default:
|
||||
err = -ENOTSUP;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue