Skip to content

Commit 1c61674

Browse files
committed
ESP8266HTTPClient: fix case for some defines
1 parent ea7eade commit 1c61674

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ bool HTTPClient::connect(void) {
567567
}
568568

569569
// set Timeout for readBytesUntil and readStringUntil
570-
_tcp->setTimeout(HTTPClient_TCP_TIMEOUT);
570+
_tcp->setTimeout(HTTPCLIENT_TCP_TIMEOUT);
571571

572572
#ifdef ESP8266
573573
_tcp->setNoDelay(true);

libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
#ifndef ESP8266HTTPClient_H_
2626
#define ESP8266HTTPClient_H_
2727

28-
//#define DEBUG_HTTPClient(...) Serial1.printf( __VA_ARGS__ )
28+
//#define DEBUG_HTTPCLIENT(...) Serial1.printf( __VA_ARGS__ )
2929

30-
#ifndef DEBUG_HTTPClient
31-
#define DEBUG_HTTPClient(...)
30+
#ifndef DEBUG_HTTPCLIENT
31+
#define DEBUG_HTTPCLIENT(...)
3232
#endif
3333

3434
#define HTTPClient_TCP_TIMEOUT (1000)

0 commit comments

Comments
 (0)