fix braces
This commit is contained in:
parent
384c591384
commit
4c2c14d7e3
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ static int fix_index(int index)
|
|||
|
||||
static ws2812_pixel_t next_colour()
|
||||
{
|
||||
ws2812_pixel_t colour = {0, 0, 0, 0};
|
||||
ws2812_pixel_t colour = { {0, 0, 0, 0} };
|
||||
colour.red = rand() % 256;
|
||||
colour.green = rand() % 256;
|
||||
colour.blue = rand() % 256;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue