Skip to content

Commit 8140c35

Browse files
Fix HTTPClient debug output (#2300)
Found via #2296, the HTTPClient was looking for old ESP8266 defines and not the RP2040 core ones to enable it. Now dump on `Core` level.
1 parent 5c4eb02 commit 8140c35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libraries/HTTPClient/src/HTTPClient.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
#include <memory>
3636
#include <vector>
3737

38-
#ifdef DEBUG_ESP_HTTP_CLIENT
39-
#ifdef DEBUG_ESP_PORT
40-
#define DEBUG_HTTPCLIENT(fmt, ...) DEBUG_ESP_PORT.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
38+
#ifdef DEBUG_RP2040_CORE
39+
#ifdef DEBUG_RP2040_PORT
40+
#define DEBUG_HTTPCLIENT(fmt, ...) DEBUG_RP2040_PORT.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
4141
#endif
4242
#endif
4343

0 commit comments

Comments
 (0)