Skip to content

Commit

Permalink
undeprecate available() (espressif#9027)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuGlider committed Dec 20, 2023
1 parent edf5ecf commit 5d97e02
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 @@ -45,7 +45,7 @@ class WiFiServer : public Server {
log_v("WiFiServer::WiFiServer(addr=%s, port=%d, ...)", addr.toString().c_str(), port);
}
~WiFiServer(){ end();}
WiFiClient available() __attribute__((deprecated("Renamed to accept().")));
WiFiClient available();
WiFiClient accept();
void begin(uint16_t port=0);
void begin(uint16_t port, int reuse_enable);
Expand Down

0 comments on commit 5d97e02

Please sign in to comment.