From: Nathael Pajani Date: Fri, 12 Jun 2020 14:37:51 +0000 (+0200) Subject: Add include guards X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=4881a0edcc70ab032df8a81d6d95986ec3e46360;p=soft%2Flpc122x%2Fcore Add include guards --- diff --git a/include/extdrv/ws2812.h b/include/extdrv/ws2812.h index f855751..acf86f2 100644 --- a/include/extdrv/ws2812.h +++ b/include/extdrv/ws2812.h @@ -57,6 +57,9 @@ * */ +#ifndef WS2812_H +#define WS2812_H + #include "lib/stdint.h" #include "core/pio.h" @@ -108,3 +111,5 @@ void ws2812_clear(struct ws2812_conf* ws2812); /* Alias for ws2812_clear */ void ws2812_stop(struct ws2812_conf* ws2812); +#endif /* WS2812_H */ +