Skip to content

Commit

Permalink
SocketWrapper: rename setTimeout into setSocketTimeout to avoid shado…
Browse files Browse the repository at this point in the history
…wing
  • Loading branch information
pennam committed Dec 5, 2023
1 parent 7b95100 commit d05696a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/SocketWrapper/src/MbedClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,6 @@ uint16_t arduino::MbedClient::remotePort() {
return address.get_port();
}

void arduino::MbedClient::setTimeout(unsigned long timeout) {
void arduino::MbedClient::setSocketTimeout(unsigned long timeout) {
_timeout = timeout;
}
2 changes: 1 addition & 1 deletion libraries/SocketWrapper/src/MbedClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class MbedClient : public arduino::Client {
IPAddress remoteIP();
uint16_t remotePort();

void setTimeout(unsigned long timeout);
void setSocketTimeout(unsigned long timeout);

friend class MbedServer;
friend class MbedSSLClient;
Expand Down

0 comments on commit d05696a

Please sign in to comment.