mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 01:07:18 +08:00
Fix comment random code
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
This commit is contained in:
parent
90e2954724
commit
5707e84a82
@ -39,8 +39,7 @@ rt_err_t ltdc_init(void)
|
||||
uint32_t VSA = LCD_VSYNC, VFP = LCD_VFP, VBP = LCD_VBP, VACT = LCD_HEIGHT;
|
||||
|
||||
stm32_mipi_lcd_init();
|
||||
|
||||
/* <20><>ʼ<EFBFBD><CABC>STM32<33><32>ʾ<EFBFBD><CABE>ʱ<EFBFBD><CAB1> */
|
||||
|
||||
__HAL_RCC_LTDC_CLK_ENABLE();
|
||||
__HAL_RCC_LTDC_FORCE_RESET();
|
||||
__HAL_RCC_LTDC_RELEASE_RESET();
|
||||
@ -57,14 +56,12 @@ rt_err_t ltdc_init(void)
|
||||
PeriphClkInitStruct.PLLSAIDivR = RCC_PLLSAIDIVR_2;
|
||||
HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct);
|
||||
|
||||
/* <20><><EFBFBD><EFBFBD>NVIC */
|
||||
HAL_NVIC_SetPriority(LTDC_IRQn, 3, 0);
|
||||
HAL_NVIC_SetPriority(DSI_IRQn, 3, 0);
|
||||
|
||||
HAL_NVIC_EnableIRQ(LTDC_IRQn);
|
||||
HAL_NVIC_EnableIRQ(DSI_IRQn);
|
||||
|
||||
/* <20><><EFBFBD><EFBFBD>DSI */
|
||||
DSI_PLLInitTypeDef dsi_pll;
|
||||
|
||||
hdsi.Instance = DSI;
|
||||
|
Loading…
x
Reference in New Issue
Block a user