good R5 with ext i2c socket P6 left top

This commit is contained in:
Yunhorn 2025-03-07 11:30:52 +08:00
parent 8b959aed4b
commit 6ec5083b46
3 changed files with 3 additions and 3 deletions

View File

@ -80,8 +80,8 @@ void MX_DMA_Init(void)
//HAL_NVIC_SetPriority(DMA1_Channel7_IRQn, 0, 0);
//HAL_NVIC_EnableIRQ(DMA1_Channel7_IRQn);
HAL_NVIC_SetPriority(DMA1_Channel5_IRQn, 2, 0);
HAL_NVIC_EnableIRQ(DMA1_Channel5_IRQn);
//HAL_NVIC_SetPriority(DMA1_Channel5_IRQn, 2, 0);
//HAL_NVIC_EnableIRQ(DMA1_Channel5_IRQn);
}

View File

@ -394,7 +394,7 @@ void EXTI15_10_IRQHandler(void)
/* USER CODE END EXTI15_10_IRQn 0 */
#if defined(L8)||defined(STS_P2)||defined(STS_R1D)||defined(STS_R5)
HAL_GPIO_EXTI_IRQHandler(TOF_INT_EXTI_PIN);
//HAL_GPIO_EXTI_IRQHandler(TOF_INT_EXTI_PIN);
#endif
/* USER CODE BEGIN EXTI15_10_IRQn 1 */