From 4881a0edcc70ab032df8a81d6d95986ec3e46360 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Fri, 12 Jun 2020 16:37:51 +0200 Subject: [PATCH] Add include guards --- include/extdrv/ws2812.h | 5 +++++ 1 file changed, 5 insertions(+) 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 */ + -- 2.43.0