minor changes. no good so far

This commit is contained in:
Yunhorn 2025-04-18 19:22:58 +08:00
parent b778d87724
commit 895969ce27
4 changed files with 4 additions and 3 deletions

View File

@ -128,7 +128,7 @@ int main(void)
/* USER CODE BEGIN 2 */
//STS_Sensor_Init();
STS_Sensor_Init();
/* USER CODE END 2 */
//MX_TOF_Init();
//STS_SENSOR_Distance_Test_Process();

View File

@ -612,12 +612,13 @@ void STS_Sensor_Init(void)
LED_GREEN_ON;HAL_Delay(150);
LED_RED_ON;HAL_Delay(150);
LED_GREEN_OFF;HAL_Delay(150);
#if 0
LED_RED_OFF;HAL_Delay(150);
LED_GREEN_ON;HAL_Delay(50);
LED_RED_ON;HAL_Delay(50);
LED_GREEN_OFF;HAL_Delay(50);
LED_RED_OFF;HAL_Delay(50);
#endif
/* VVVVVV migrated to yunhorn_sts_process.c */
// #if 0
/// **************************************************************************** TO-DO LIST
@ -1477,7 +1478,7 @@ static void OnJoinRequest(LmHandlerJoinParams_t *joinParams)
}
UTIL_TIMER_Start(&TxTimer);
// UTIL_TIMER_Start(&TxTimer);
// UTIL_TIMER_Start(&YunhornSTSWakeUpScanTimer);
/* USER CODE END OnJoinRequest_1 */
}