mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-03 14:24:15 +01:00
Merge pull request #2066 from manuel-rabade/fix-httpclient-ready
Fix HttpClient::ready() return value
This commit is contained in:
commit
245d879bf7
@ -43,7 +43,7 @@ void HttpClient::getAsynchronously(const char *url) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
boolean HttpClient::ready() {
|
boolean HttpClient::ready() {
|
||||||
return running();
|
return !running();
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int HttpClient::getResult() {
|
unsigned int HttpClient::getResult() {
|
||||||
|
Loading…
Reference in New Issue
Block a user