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:
parent
ea7eade8f1
commit
1c616747ab
@ -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);
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user