Skip to content

Commit 0f60efe

Browse files
kartbenhenrikbrixandersen
authored andcommitted
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>
1 parent dcec4ee commit 0f60efe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/display/display_stm32_ltdc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ static int stm32_ltdc_set_pixel_format(const struct device *dev,
124124
err = HAL_LTDC_SetPixelFormat(&data->hltdc, LTDC_PIXEL_FORMAT_ARGB8888, 0);
125125
data->current_pixel_format = PIXEL_FORMAT_ARGB_8888;
126126
data->current_pixel_size = 4u;
127+
break;
127128
default:
128129
err = -ENOTSUP;
129130
break;

0 commit comments

Comments
 (0)