bad power on
This commit is contained in:
parent
5b732b57e5
commit
f8169053c3
|
@ -42,6 +42,7 @@
|
||||||
*.idb
|
*.idb
|
||||||
*.pdb
|
*.pdb
|
||||||
*.cyclo
|
*.cyclo
|
||||||
|
*.list
|
||||||
|
|
||||||
# Kernel Module Compile Results
|
# Kernel Module Compile Results
|
||||||
*.mod*
|
*.mod*
|
||||||
|
|
|
@ -425,7 +425,7 @@ void EXTI15_10_IRQHandler(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 1
|
#if 0
|
||||||
/**
|
/**
|
||||||
* @brief This function handles USART2 Interrupt.
|
* @brief This function handles USART2 Interrupt.
|
||||||
*/
|
*/
|
||||||
|
@ -448,9 +448,9 @@ void RTC_Alarm_IRQHandler(void)
|
||||||
/* USER CODE BEGIN RTC_Alarm_IRQn 0 */
|
/* USER CODE BEGIN RTC_Alarm_IRQn 0 */
|
||||||
|
|
||||||
/* USER CODE END RTC_Alarm_IRQn 0 */
|
/* USER CODE END RTC_Alarm_IRQn 0 */
|
||||||
#if 1
|
|
||||||
HAL_RTC_AlarmIRQHandler(&hrtc);
|
HAL_RTC_AlarmIRQHandler(&hrtc);
|
||||||
#endif
|
|
||||||
/* USER CODE BEGIN RTC_Alarm_IRQn 1 */
|
/* USER CODE BEGIN RTC_Alarm_IRQn 1 */
|
||||||
|
|
||||||
/* USER CODE END RTC_Alarm_IRQn 1 */
|
/* USER CODE END RTC_Alarm_IRQn 1 */
|
||||||
|
|
|
@ -301,7 +301,7 @@ void STS_YunhornSTSEventP3_Process(void)
|
||||||
*/
|
*/
|
||||||
void STS_YunhornSTSEventP4_Process(void)
|
void STS_YunhornSTSEventP4_Process(void)
|
||||||
{
|
{
|
||||||
STS_SENSOR_Power_ON(0);
|
//STS_SENSOR_Power_ON(0);
|
||||||
#ifdef LED_ONBOARD
|
#ifdef LED_ONBOARD
|
||||||
LED_ON;
|
LED_ON;
|
||||||
HAL_Delay(10);
|
HAL_Delay(10);
|
||||||
|
@ -317,7 +317,7 @@ void STS_YunhornSTSEventP4_Process(void)
|
||||||
STS_TOF250_Range_Process();
|
STS_TOF250_Range_Process();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
STS_SENSOR_Power_OFF(0);
|
//STS_SENSOR_Power_OFF(0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,5 @@ D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/C
|
||||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:304:6:DMA1_Channel4_IRQHandler 1
|
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:304:6:DMA1_Channel4_IRQHandler 1
|
||||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:318:6:DMA1_Channel5_IRQHandler 1
|
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:318:6:DMA1_Channel5_IRQHandler 1
|
||||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:361:6:EXTI3_IRQHandler 1
|
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:361:6:EXTI3_IRQHandler 1
|
||||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:432:6:USART2_IRQHandler 1
|
|
||||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:446:6:RTC_Alarm_IRQHandler 1
|
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:446:6:RTC_Alarm_IRQHandler 1
|
||||||
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:462:6:SUBGHZ_Radio_IRQHandler 1
|
D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/Core/Src/stm32wlxx_it.c:462:6:SUBGHZ_Radio_IRQHandler 1
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -103,8 +103,8 @@ void MX_TOF_Process(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef STS_USE_TOF_VL53L0X
|
#ifdef STS_USE_TOF_VL53L0X
|
||||||
STS_SENSOR_Power_ON(1);
|
//STS_SENSOR_Power_ON(1);
|
||||||
HAL_Delay(100);
|
//HAL_Delay(100);
|
||||||
#if defined(TOF_1)||defined(TOF_2)
|
#if defined(TOF_1)||defined(TOF_2)
|
||||||
STS_TOF_VL53L0X_Range_Process();
|
STS_TOF_VL53L0X_Range_Process();
|
||||||
#endif
|
#endif
|
||||||
|
@ -112,7 +112,7 @@ void MX_TOF_Process(void)
|
||||||
STS_TOF250_Range_Process();
|
STS_TOF250_Range_Process();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
STS_SENSOR_Power_OFF(1);
|
//STS_SENSOR_Power_OFF(1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(STS_TOF_VL53L1X_PeopleCount) && defined(STS_USE_TOF_VL53L1X)
|
#if defined(STS_TOF_VL53L1X_PeopleCount) && defined(STS_USE_TOF_VL53L1X)
|
||||||
|
|
Loading…
Reference in New Issue