From b8ae21c0454bd238009238c66d89febd6732a542 Mon Sep 17 00:00:00 2001 From: Johan Euphrosine Date: Mon, 8 Feb 2016 11:02:27 -0800 Subject: [PATCH] Firebase: update arduino core define --- Firebase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Firebase.cpp b/Firebase.cpp index ccca72cd..154a72f3 100644 --- a/Firebase.cpp +++ b/Firebase.cpp @@ -19,7 +19,7 @@ // master branch and patch in missing status and methods. #ifndef HTTP_CODE_TEMPORARY_REDIRECT #define HTTP_CODE_TEMPORARY_REDIRECT 307 -#define USE_ARDUINO_CORE_2_0_0 +#define USE_ESP_ARDUINO_CORE_2_0_0 #endif namespace { @@ -105,7 +105,7 @@ FirebaseCall::FirebaseCall(const String& host, const String& auth, } if (status != 200) { -#ifdef USE_ARDUINO_CORE_2_0_0 +#ifdef USE_ESP_ARDUINO_CORE_2_0_0 error_ = FirebaseError(status, String(method) + " " + url + ": " + status); #else error_ = FirebaseError(status, String(method) + " " + url + ": " + HTTPClient::errorToString(status));