define PGM_VOID_P if not already defined (#171)

This commit is contained in:
Michael Miller
2017-04-10 10:15:36 -07:00
committed by GitHub
parent 6a33cbf710
commit 081866e4d0

View File

@@ -27,6 +27,12 @@ License along with NeoPixel. If not, see
#include <Arduino.h> #include <Arduino.h>
// 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 // '_state' flags for internal state
#define NEO_DIRTY 0x80 // a change was made to pixel data that requires a show #define NEO_DIRTY 0x80 // a change was made to pixel data that requires a show