Made PROGMEM available on more platforms (issue #381)

This commit is contained in:
Benoit Blanchon
2016-11-16 22:24:58 +01:00
parent f6cd42d916
commit 72d78432c9
3 changed files with 7 additions and 2 deletions

View File

@ -29,7 +29,7 @@
// On AVR archiecture, we can use PROGMEM
#ifndef ARDUINOJSON_ENABLE_PROGMEM
#ifdef ARDUINO_ARCH_AVR
#ifdef PROGMEM
#define ARDUINOJSON_ENABLE_PROGMEM 1
#else
#define ARDUINOJSON_ENABLE_PROGMEM 0