Fix comment random code
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
This commit is contained in:
parent
90e2954724
commit
5707e84a82
|
@ -40,7 +40,6 @@ rt_err_t ltdc_init(void)
|
|||
|
||||
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…
Reference in New Issue