Fix missing 0

This commit is contained in:
Kwabena W. Agyeman 2021-03-14 18:42:47 -07:00
parent c1289deb02
commit 911b08ed22

View File

@ -896,7 +896,7 @@ static void ltdc_pll_config_init(int frame_size, int refresh_rate)
uint32_t pll_clk = pixel_clock * divr;
uint32_t vco = 0;
if (150000 <= pll_clk && pll_clk <= 42000) vco = RCC_PLL3VCOMEDIUM;
if (150000 <= pll_clk && pll_clk <= 420000) vco = RCC_PLL3VCOMEDIUM;
else if (192000 <= pll_clk && pll_clk <= 836000) vco = RCC_PLL3VCOWIDE;
else continue;