1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-06 05:21:22 +03:00

ESP8266HTTPClient: fix case for some defines

This commit is contained in:
Ivan Grokhotkov 2015-11-30 10:07:38 +03:00
parent ea7eade8f1
commit 1c616747ab
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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)