mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-29 18:27:37 +02:00
Show an error if ARDUINOJSON_SLOT_OFFSET_SIZE
is defined
This commit is contained in:
@ -6,6 +6,10 @@
|
|||||||
|
|
||||||
#include <ArduinoJson/Namespace.hpp>
|
#include <ArduinoJson/Namespace.hpp>
|
||||||
|
|
||||||
|
#ifdef ARDUINOJSON_SLOT_OFFSET_SIZE
|
||||||
|
#error ARDUINOJSON_SLOT_OFFSET_SIZE has been removed, use ARDUINOJSON_SLOT_ID_SIZE instead
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
|
||||||
#define ARDUINOJSON_PRAGMA(x) _Pragma(#x)
|
#define ARDUINOJSON_PRAGMA(x) _Pragma(#x)
|
||||||
|
Reference in New Issue
Block a user