Fix compatibility with the Blynk libary (fixes #1914)

Ported from 52d8a65cbc
This commit is contained in:
Benoit Blanchon committed 2023-04-21 19:08:53 +02:00
1 parent 03139a08af
commit 95f5d9d134
5 files changed
+6 -5

No files matched your search

+1
View File
@@ -46,6 +46,7 @@ update_version_in_source () {
-e "s/ARDUINOJSON_VERSION_MAJOR .*$/ARDUINOJSON_VERSION_MAJOR $MAJOR/" \
-e "s/ARDUINOJSON_VERSION_MINOR .*$/ARDUINOJSON_VERSION_MINOR $MINOR/" \
-e "s/ARDUINOJSON_VERSION_REVISION .*$/ARDUINOJSON_VERSION_REVISION $REVISION/" \
-e "s/ARDUINOJSON_VERSION_MACRO .*$/ARDUINOJSON_VERSION_MACRO V$MAJOR$MINOR$REVISION/" \
src/ArduinoJson/version.hpp
rm src/ArduinoJson/version.hpp*~
}
+3
View File
@@ -55,5 +55,8 @@
// issue #1905
#define _current
// issue #1914
#define V7 7
// catch.hpp mutes several warnings, this file also allows to detect them
#include "ArduinoJson.h"