Skip to content

Commit e73af48

Browse files
authored
Revert "undeprecate available() (espressif#9027)" (espressif#9165)
This reverts commit 5d97e02.
1 parent 23c6779 commit e73af48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎libraries/WiFi/src/WiFiServer.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class WiFiServer : public Server{
4444
log_v("WiFiServer::WiFiServer(addr=%s, port=%d, ...)", addr.toString().c_str(), port);
4545
}
4646
~WiFiServer(){end()}
47-
WiFiClient available();
47+
WiFiClient available() __attribute__((deprecated("Renamed to accept().")));
4848
WiFiClient accept();
4949
voidbegin(uint16_t port=0);
5050
voidbegin(uint16_t port, int reuse_enable);

0 commit comments

Comments
(0)