recovered back

This commit is contained in:
Yunhorn 2024-04-13 22:24:28 +08:00
parent 1b23ca28f0
commit 145dbd861b
2 changed files with 2 additions and 2 deletions

View File

@ -563,7 +563,7 @@ void STS_Lamp_Bar_Self_Test_Simple(void)
do { do {
STS_Lamp_Bar_Set_STS_RGB_Color(color, luminance_level); STS_Lamp_Bar_Set_STS_RGB_Color(color, luminance_level);
HAL_Delay(50); HAL_Delay(50);
luminance_level += 10; luminance_level += 20;
} while (luminance_level < 99); } while (luminance_level < 99);
//STS_Lamp_Bar_Set_Dark(); //STS_Lamp_Bar_Set_Dark();
} }

View File

@ -601,7 +601,7 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
{ {
case BUT1_Pin: case BUT1_Pin:
sts_reed_hall_ext_int = 1; //sts_reed_hall_ext_int = 1;
UTIL_SEQ_SetTask((1 << CFG_SEQ_Task_YunhornSTSEventP1), CFG_SEQ_Prio_0); UTIL_SEQ_SetTask((1 << CFG_SEQ_Task_YunhornSTSEventP1), CFG_SEQ_Prio_0);
//sts_reed_hall_ext_int = 0; //sts_reed_hall_ext_int = 0;
/* Note: when "EventType == TX_ON_TIMER" this GPIO is not initialized */ /* Note: when "EventType == TX_ON_TIMER" this GPIO is not initialized */