mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #1223 from kwagyeman/kwabena/fix_lcd_pll_typo
Fix missing 0
This commit is contained in:
commit
812b9c44e1
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user