bad power on

This commit is contained in:
Yunhorn 2024-04-16 16:04:38 +08:00
parent 5b732b57e5
commit f8169053c3
6 changed files with 27892 additions and 28290 deletions

1
.gitignore vendored
View File

@ -42,6 +42,7 @@
*.idb
*.pdb
*.cyclo
*.list
# Kernel Module Compile Results
*.mod*

View File

@ -425,7 +425,7 @@ void EXTI15_10_IRQHandler(void)
}
#endif
#if 1
#if 0
/**
* @brief This function handles USART2 Interrupt.
*/
@ -448,9 +448,9 @@ void RTC_Alarm_IRQHandler(void)
/* USER CODE BEGIN RTC_Alarm_IRQn 0 */
/* USER CODE END RTC_Alarm_IRQn 0 */
#if 1
HAL_RTC_AlarmIRQHandler(&hrtc);
#endif
/* USER CODE BEGIN RTC_Alarm_IRQn 1 */
/* USER CODE END RTC_Alarm_IRQn 1 */

View File

@ -301,7 +301,7 @@ void STS_YunhornSTSEventP3_Process(void)
*/
void STS_YunhornSTSEventP4_Process(void)
{
STS_SENSOR_Power_ON(0);
//STS_SENSOR_Power_ON(0);
#ifdef LED_ONBOARD
LED_ON;
HAL_Delay(10);
@ -317,7 +317,7 @@ void STS_YunhornSTSEventP4_Process(void)
STS_TOF250_Range_Process();
#endif
STS_SENSOR_Power_OFF(0);
//STS_SENSOR_Power_OFF(0);
}

View File

@ -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: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: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:462:6:SUBGHZ_Radio_IRQHandler 1

File diff suppressed because it is too large Load Diff

View File

@ -103,8 +103,8 @@ void MX_TOF_Process(void)
#endif
#ifdef STS_USE_TOF_VL53L0X
STS_SENSOR_Power_ON(1);
HAL_Delay(100);
//STS_SENSOR_Power_ON(1);
//HAL_Delay(100);
#if defined(TOF_1)||defined(TOF_2)
STS_TOF_VL53L0X_Range_Process();
#endif
@ -112,7 +112,7 @@ void MX_TOF_Process(void)
STS_TOF250_Range_Process();
#endif
STS_SENSOR_Power_OFF(1);
//STS_SENSOR_Power_OFF(1);
#endif
#if defined(STS_TOF_VL53L1X_PeopleCount) && defined(STS_USE_TOF_VL53L1X)