minor changes. no good so far
This commit is contained in:
parent
b778d87724
commit
895969ce27
|
@ -128,7 +128,7 @@ int main(void)
|
||||||
|
|
||||||
/* USER CODE BEGIN 2 */
|
/* USER CODE BEGIN 2 */
|
||||||
|
|
||||||
//STS_Sensor_Init();
|
STS_Sensor_Init();
|
||||||
/* USER CODE END 2 */
|
/* USER CODE END 2 */
|
||||||
//MX_TOF_Init();
|
//MX_TOF_Init();
|
||||||
//STS_SENSOR_Distance_Test_Process();
|
//STS_SENSOR_Distance_Test_Process();
|
||||||
|
|
|
@ -612,12 +612,13 @@ void STS_Sensor_Init(void)
|
||||||
LED_GREEN_ON;HAL_Delay(150);
|
LED_GREEN_ON;HAL_Delay(150);
|
||||||
LED_RED_ON;HAL_Delay(150);
|
LED_RED_ON;HAL_Delay(150);
|
||||||
LED_GREEN_OFF;HAL_Delay(150);
|
LED_GREEN_OFF;HAL_Delay(150);
|
||||||
|
#if 0
|
||||||
LED_RED_OFF;HAL_Delay(150);
|
LED_RED_OFF;HAL_Delay(150);
|
||||||
LED_GREEN_ON;HAL_Delay(50);
|
LED_GREEN_ON;HAL_Delay(50);
|
||||||
LED_RED_ON;HAL_Delay(50);
|
LED_RED_ON;HAL_Delay(50);
|
||||||
LED_GREEN_OFF;HAL_Delay(50);
|
LED_GREEN_OFF;HAL_Delay(50);
|
||||||
LED_RED_OFF;HAL_Delay(50);
|
LED_RED_OFF;HAL_Delay(50);
|
||||||
|
#endif
|
||||||
/* VVVVVV migrated to yunhorn_sts_process.c */
|
/* VVVVVV migrated to yunhorn_sts_process.c */
|
||||||
// #if 0
|
// #if 0
|
||||||
/// **************************************************************************** TO-DO LIST
|
/// **************************************************************************** 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);
|
// UTIL_TIMER_Start(&YunhornSTSWakeUpScanTimer);
|
||||||
/* USER CODE END OnJoinRequest_1 */
|
/* USER CODE END OnJoinRequest_1 */
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue