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)
|
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 ++)
|
for (uint8_t j = 0; j < 8; j ++)
|
||||||
|
@ -246,6 +246,7 @@ 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);
|
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 )
|
void STS_Lamp_Bar_Set_RGB_Color(uint8_t red, uint8_t green, uint8_t blue )
|
||||||
{
|
{
|
||||||
|
@ -267,12 +268,13 @@ void STS_Lamp_Bar_Set_RGB_Color(uint8_t red, uint8_t green, uint8_t blue )
|
||||||
STS_WS2812B_Refresh();
|
STS_WS2812B_Refresh();
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
void STS_Lamp_Bar_Set_RGB_Color_Flow(void)
|
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)
|
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)
|
for (uint8_t i=0;i < 1; i++) //while(1)
|
||||||
{
|
{
|
||||||
STS_Lamp_Bar_Self_Test_Simple();
|
STS_Lamp_Bar_Self_Test_Simple();
|
||||||
STS_Lamp_Bar_Refresh();
|
//STS_Lamp_Bar_Refresh();
|
||||||
HAL_Delay(200);
|
HAL_Delay(200);
|
||||||
sts_lamp_bar_color = STS_PINK;
|
sts_lamp_bar_color = STS_PINK;
|
||||||
sts_presence_rss_detection_deinit();
|
sts_presence_rss_detection_deinit();
|
||||||
|
|
Loading…
Reference in New Issue