MINOR IMPROVEMENT
This commit is contained in:
parent
79352326e6
commit
5945feae5d
|
@ -99,6 +99,7 @@ void PWR_EnterStopMode(void)
|
|||
/* USER CODE END EnterStopMode_1 */
|
||||
HAL_GPIO_WritePin(GPIOA,GPIO_PIN_All,GPIO_PIN_RESET);
|
||||
HAL_GPIO_WritePin(GPIOB,GPIO_PIN_All,GPIO_PIN_RESET);
|
||||
HAL_GPIO_WritePin(GPIOC,GPIO_PIN_All,GPIO_PIN_RESET);
|
||||
HAL_SuspendTick();
|
||||
/* Clear Status Flag before entering STOP/STANDBY Mode */
|
||||
LL_PWR_ClearFlag_C1STOP_C1STB();
|
||||
|
|
|
@ -347,6 +347,7 @@ void STS_YunhornSTSEventP6_Process(void)
|
|||
{
|
||||
APP_LOG(TS_OFF, VLEVEL_H, "\r\n P6 Testing Process\r\n");
|
||||
STS_SENSOR_Power_ON(0);
|
||||
HAL_Delay(50);
|
||||
#ifdef LED_ONBOARD
|
||||
LED_ON;
|
||||
HAL_Delay(20);
|
||||
|
|
Loading…
Reference in New Issue