From 4c2c14d7e303d5ec2fefd52c1946ffc48bac5583 Mon Sep 17 00:00:00 2001 From: lilian Date: Fri, 24 Nov 2017 15:51:19 +0100 Subject: [PATCH] fix braces --- examples/ws2812_i2s/ws2812_i2s_colour_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ws2812_i2s/ws2812_i2s_colour_loop.c b/examples/ws2812_i2s/ws2812_i2s_colour_loop.c index c5b5411..b28f83b 100644 --- a/examples/ws2812_i2s/ws2812_i2s_colour_loop.c +++ b/examples/ws2812_i2s/ws2812_i2s_colour_loop.c @@ -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;