initialze _next
parent
e20c32a4fc
commit
5ec1da3bf0
|
@ -4,7 +4,7 @@
|
|||
class WiFiServer
|
||||
{
|
||||
public:
|
||||
WiFiServer(uint16_t port) : port(port) {}
|
||||
WiFiServer(uint16_t port) : port(port), _next(nullptr) {}
|
||||
WiFiClient available() {
|
||||
if (!_next) return WiFiClient();
|
||||
const char * client = _next;
|
||||
|
|
Loading…
Reference in New Issue