comment out useless code
This commit is contained in:
parent
c90656b238
commit
36b7e8c00c
|
@ -236,7 +236,7 @@ void STS_Lamp_Bar_Scoller(uint8_t color, uint8_t lum_level)
|
|||
*/
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
void STS_WS2812B_Set_RGB(uint8_t red, uint8_t green, uint8_t blue, uint8_t idx)
|
||||
{
|
||||
for (uint8_t j = 0; j < 8; j ++)
|
||||
|
@ -246,11 +246,12 @@ void STS_WS2812B_Set_RGB(uint8_t red, uint8_t green, uint8_t blue, uint8_t idx)
|
|||
rgb_buf.GRB[idx*24+16+j] = (uint16_t)(((blue<<j)&0x80)? ONE_PULSE : ZERO_PULSE);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
void STS_Lamp_Bar_Set_RGB_Color(uint8_t red, uint8_t green, uint8_t blue )
|
||||
{
|
||||
//ws2812b_light_all();
|
||||
/*
|
||||
/*
|
||||
uint8_t i =0;
|
||||
UTIL_MEM_set_8((void*)rgb_buf.GRB,0x00,(WS2812B_DATA_LEN+RESET_PULSE));
|
||||
|
||||
|
@ -265,14 +266,15 @@ void STS_Lamp_Bar_Set_RGB_Color(uint8_t red, uint8_t green, uint8_t blue )
|
|||
}
|
||||
}
|
||||
STS_WS2812B_Refresh();
|
||||
*/
|
||||
*/
|
||||
}
|
||||
|
||||
/*
|
||||
void STS_Lamp_Bar_Set_RGB_Color_Flow(void)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
static void STS_Lamp_Bar_Set_RGB_Color_FadeIn(uint8_t red, uint8_t green, uint8_t blue, uint8_t start_position, uint8_t fade_length)
|
||||
{
|
||||
|
|
|
@ -1142,7 +1142,7 @@ void STS_PRESENCE_SENSOR_Function_Test_Process(void)
|
|||
for (uint8_t i=0;i < 1; i++) //while(1)
|
||||
{
|
||||
STS_Lamp_Bar_Self_Test_Simple();
|
||||
STS_Lamp_Bar_Refresh();
|
||||
//STS_Lamp_Bar_Refresh();
|
||||
HAL_Delay(200);
|
||||
sts_lamp_bar_color = STS_PINK;
|
||||
sts_presence_rss_detection_deinit();
|
||||
|
|
Loading…
Reference in New Issue