Skip to content

Commit 6b768f9

Browse files
committed
Fix contrib directory to use external ArduinoJson library.
1 parent e175110 commit 6b768f9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

contrib/src/thing/Config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "Arduino.h"
22
#include "thing/Config.h"
3-
#include "third-party/arduino-json-5.6.7/include/ArduinoJson.h"
3+
#include <ArduinoJson.h>
44

55
namespace thing {
66

contrib/src/thing/Config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "Arduino.h"
55
#include <string>
66
#include <functional>
7-
#include "third-party/arduino-json-5.6.7/include/ArduinoJson.h"
7+
#include <ArduinoJson.h>
88

99
namespace thing {
1010

contrib/src/thing/Portal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "thing/Portal.h"
2-
#include "third-party/arduino-json-5.6.7/include/ArduinoJson.h"
2+
#include <ArduinoJson.h>
33

44
namespace thing {
55

contrib/test/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
FIREBASE_DIR=../..
1818
GTEST_DIR=googletest/googletest
19-
ARDUINOJSON_DIR=../../src/third-party/arduino-json-5.6.7
19+
ARDUINOJSON_DIR=${ARDUINO_HOME}/libraries/ArduinoJson
2020

2121
FIREBASE_SRCS=${FIREBASE_DIR}/src/FirebaseObject.cpp
2222
GTEST_SRCS=${GTEST_DIR}/src/gtest-all.cpp
@@ -27,7 +27,7 @@ SRCS=FirebaseArduino_test.cpp\
2727

2828
OBJS=${SRCS:.cpp=.o}
2929

30-
CXXFLAGS=-I. -I${FIREBASE_DIR}/src -Igoogletest/googletest/include -Igoogletest/googletest -std=c++11 -g
30+
CXXFLAGS=-I. -I${FIREBASE_DIR}/src -I${ARDUINOJSON_DIR}/src -Igoogletest/googletest/include -Igoogletest/googletest -std=c++11 -g
3131
LDFLAGS=-lpthread
3232

3333
all: check

0 commit comments

Comments
 (0)