Show an error if ARDUINOJSON_SLOT_OFFSET_SIZE is defined

This commit is contained in:
Benoit Blanchon committed 2023-08-10 18:28:38 +02:00
1 parent fc1f06822c
commit 305e80c09d
1 file changed
+4
+4
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)