From 1c616747ab9ec53e59ac916d8f5a24471b4eb169 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 30 Nov 2015 10:07:38 +0300 Subject: [PATCH] ESP8266HTTPClient: fix case for some defines --- libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp | 2 +- libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp b/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp index b6d7a3346..37b71dbc1 100644 --- a/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp +++ b/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp @@ -567,7 +567,7 @@ bool HTTPClient::connect(void) { } // set Timeout for readBytesUntil and readStringUntil - _tcp->setTimeout(HTTPClient_TCP_TIMEOUT); + _tcp->setTimeout(HTTPCLIENT_TCP_TIMEOUT); #ifdef ESP8266 _tcp->setNoDelay(true); diff --git a/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.h b/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.h index c86cfb102..d79582ea2 100644 --- a/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.h +++ b/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.h @@ -25,10 +25,10 @@ #ifndef ESP8266HTTPClient_H_ #define ESP8266HTTPClient_H_ -//#define DEBUG_HTTPClient(...) Serial1.printf( __VA_ARGS__ ) +//#define DEBUG_HTTPCLIENT(...) Serial1.printf( __VA_ARGS__ ) -#ifndef DEBUG_HTTPClient -#define DEBUG_HTTPClient(...) +#ifndef DEBUG_HTTPCLIENT +#define DEBUG_HTTPCLIENT(...) #endif #define HTTPClient_TCP_TIMEOUT (1000)