Show an error if ARDUINOJSON_SLOT_OFFSET_SIZE is defined

This commit is contained in:
Benoit Blanchon
2023-08-10 18:28:38 +02:00
parent fc1f06822c
commit 305e80c09d

View File

@ -6,6 +6,10 @@
#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__
#define ARDUINOJSON_PRAGMA(x) _Pragma(#x)