simple rgb test
This commit is contained in:
parent
244791623c
commit
4c542dc5d7
@ -56,6 +56,7 @@ int simple_rgb_test
|
|||||||
prev_time = cur_time;
|
prev_time = cur_time;
|
||||||
p_ta->hook_table.DisplayMsg(p_ta, NULL);
|
p_ta->hook_table.DisplayMsg(p_ta, NULL);
|
||||||
|
|
||||||
|
p_ta->output.duty[pin] = LIGHT_MAX;
|
||||||
switch(pin)
|
switch(pin)
|
||||||
{
|
{
|
||||||
case GREEN:
|
case GREEN:
|
||||||
@ -77,7 +78,6 @@ int simple_rgb_test
|
|||||||
p_ta->hook_table.DisplayMsg(p_ta, NULL);
|
p_ta->hook_table.DisplayMsg(p_ta, NULL);
|
||||||
pin = GREEN;
|
pin = GREEN;
|
||||||
}
|
}
|
||||||
p_ta->output.duty[pin] = LIGHT_MAX;
|
|
||||||
}
|
}
|
||||||
return RC;
|
return RC;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user