PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
Fork of PokittoLib by
Diff: POKITTO_LIBS/Synth/Synth_helpers.cpp
- Revision:
- 2:968589ca3484
- Parent:
- 0:e8b8f36b4505
--- a/POKITTO_LIBS/Synth/Synth_helpers.cpp Mon Sep 18 12:34:05 2017 +0000 +++ b/POKITTO_LIBS/Synth/Synth_helpers.cpp Tue Sep 19 08:47:36 2017 +0000 @@ -24,7 +24,9 @@ #define PROGMEM #define pgm_read_byte(addr) (*(const unsigned char *)(addr)) #ifndef WIN32 + #ifndef pgm_read_word #define pgm_read_word(addr) (*(const unsigned short *)(addr)) + #endif #else #define pgm_read_word(addr) (*(const unsigned int *)(addr)) #endif // WIN32