Skip to content

Commit 19d8b63

Browse files
committed
chore(Main): Clarify HTTP debug message and remove delay
1 parent 692a296 commit 19d8b63

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/helpers/httpGetJson.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Created Date: 2021-08-30 22:37:00
55
* Author: 3urobeat
66
*
7-
* Last Modified: 2024-05-11 14:46:14
7+
* Last Modified: 2024-10-05 11:35:50
88
* Modified By: 3urobeat
99
*
1010
* Copyright (c) 2021 - 2024 3urobeat <https://github.com/3urobeat>
@@ -32,10 +32,10 @@ int16_t httpGetJson(const char *host, const char *path, uint16_t port, JsonHandl
3232
{
3333
// Log request if DEBUG mode is enabled
3434
#ifdef CLOCK_DEBUG
35-
Serial.print("httpGetJson(): Sending GET request to: ");
35+
Serial.print("httpGetJson(): Sending GET request to: '");
3636
Serial.print(host);
3737
Serial.print(path);
38-
Serial.print(":");
38+
Serial.print("' at port ");
3939
Serial.println(port);
4040

4141
debug(F("httpGetJson(): Creating new lib objects..."));
@@ -133,7 +133,7 @@ int16_t httpGetJson(const char *host, const char *path, uint16_t port, JsonHandl
133133
while (wifiSecureClient->connected() || wifiSecureClient->available()) {
134134
char thisChar = (char) wifiSecureClient->read();
135135

136-
delay(1); // This delay just blew in from stupid town, yes. This is an experimental "fix" for the device crashing when loading large Spotify API responses
136+
//delay(1); // This delay just blew in from stupid town, yes. This is an experimental "fix" for the device crashing when loading large Spotify API responses
137137

138138
parserLib->parse(thisChar);
139139
}

0 commit comments

Comments
 (0)