mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-08 13:51:09 +08:00
bsp/stm32: remove duplicate if condition
This commit is contained in:
parent
252b8f9ac3
commit
9c7f668e6c
@ -181,10 +181,6 @@ rt_err_t stm32_lcd_init(struct drv_lcd_device *lcd)
|
||||
{
|
||||
pLayerCfg.PixelFormat = LTDC_PIXEL_FORMAT_RGB888;
|
||||
}
|
||||
else if (lcd->lcd_info.pixel_format == RTGRAPHIC_PIXEL_FORMAT_RGB888)
|
||||
{
|
||||
pLayerCfg.PixelFormat = LTDC_PIXEL_FORMAT_RGB888;
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG_E("unsupported pixel format");
|
||||
|
Loading…
x
Reference in New Issue
Block a user