quick fix to prevent two ws2812_update that follow each other

This commit is contained in:
lilian 2017-12-02 19:46:38 +01:00
parent f67495f4f0
commit 9317995eb1
2 changed files with 20 additions and 2 deletions

View file

@ -60,8 +60,9 @@ void ws2812_i2s_init(uint32_t pixels_number, pixeltype_t type);
*
* @param pixels Array of 'pixels_number' pixels. The array must contain all
* the pixels.
* @return Non-zero if busy
*/
void ws2812_i2s_update(ws2812_pixel_t *pixels, pixeltype_t type);
int ws2812_i2s_update(ws2812_pixel_t *pixels, pixeltype_t type);
#ifdef __cplusplus
}