diff --git a/Core/Src/stm32wlxx_it.c b/Core/Src/stm32wlxx_it.c index 6f36a09..69ff4b6 100644 --- a/Core/Src/stm32wlxx_it.c +++ b/Core/Src/stm32wlxx_it.c @@ -376,7 +376,7 @@ void EXTI9_5_IRQHandler(void) #ifndef RM2 HAL_GPIO_EXTI_IRQHandler(BUT3_Pin); #elif defined(RM2)&&(defined(VL53L0)||defined(VL53LX)) - HAL_GPIO_EXTI_IRQHandler(TOF_INT_EXTI_PIN); + // HAL_GPIO_EXTI_IRQHandler(TOF_INT_EXTI_PIN); #endif /* USER CODE BEGIN EXTI9_5_IRQn 1 */ diff --git a/STM32CubeIDE/Release/WLE5CC_NODE_STS.elf b/STM32CubeIDE/Release/WLE5CC_NODE_STS.elf index 97a8be3..86d73f8 100644 Binary files a/STM32CubeIDE/Release/WLE5CC_NODE_STS.elf and b/STM32CubeIDE/Release/WLE5CC_NODE_STS.elf differ diff --git a/STS/TOF/App/X-WL55_WLE5_53L0X.c b/STS/TOF/App/X-WL55_WLE5_53L0X.c index 726445c..d0e00ea 100644 --- a/STS/TOF/App/X-WL55_WLE5_53L0X.c +++ b/STS/TOF/App/X-WL55_WLE5_53L0X.c @@ -231,8 +231,9 @@ void XWL55_WLE5_53L0X_ResetId(uint8_t DevNo, int state) HAL_GPIO_WritePin(TOF_L_XSHUT_GPIO_Port, TOF_L_XSHUT_Pin, ((state == 1)?GPIO_PIN_SET:GPIO_PIN_RESET)); #endif break; -#if defined(TOF_1) + case XNUCLEO53L0X_CENTER: +#if defined(TOF_1) HAL_GPIO_WritePin(TOF_C_XSHUT_GPIO_Port, TOF_C_XSHUT_Pin, ((state == 1)?GPIO_PIN_SET:GPIO_PIN_RESET)); break; #endif