Skip to content

Commit

Permalink
Revert "undeprecate available() (espressif#9027)"
Browse files Browse the repository at this point in the history
This reverts commit 5d97e02.
  • Loading branch information
JAndrassy committed Jan 23, 2024
1 parent 9258a8c commit adeb1d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/WiFi/src/WiFiServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class WiFiServer : public Server {
log_v("WiFiServer::WiFiServer(addr=%s, port=%d, ...)", addr.toString().c_str(), port);
}
~WiFiServer(){ end();}
WiFiClient available();
WiFiClient available() __attribute__((deprecated("Renamed to accept().")));
WiFiClient accept();
void begin(uint16_t port=0);
void begin(uint16_t port, int reuse_enable);
Expand Down

0 comments on commit adeb1d8

Please sign in to comment.