fix braces

This commit is contained in:
lilian 2017-11-24 15:51:19 +01:00
parent 384c591384
commit 4c2c14d7e3

View file

@ -41,7 +41,7 @@ static int fix_index(int index)
static ws2812_pixel_t next_colour() 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.red = rand() % 256;
colour.green = rand() % 256; colour.green = rand() % 256;
colour.blue = rand() % 256; colour.blue = rand() % 256;