From 081866e4d0b4a47d5c4d25cf097cfe99a29b061b Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Mon, 10 Apr 2017 10:15:36 -0700 Subject: [PATCH] define PGM_VOID_P if not already defined (#171) --- src/NeoPixelBus.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/NeoPixelBus.h b/src/NeoPixelBus.h index e5e0ad6..f6a6b7b 100644 --- a/src/NeoPixelBus.h +++ b/src/NeoPixelBus.h @@ -27,6 +27,12 @@ License along with NeoPixel. If not, see #include +// some platforms do not define this standard progmem type for some reason +// +#ifndef PGM_VOID_P +#define PGM_VOID_P const void * +#endif + // '_state' flags for internal state #define NEO_DIRTY 0x80 // a change was made to pixel data that requires a show