[TinyMqtt] Fix obsolete warning
This commit is contained in:
@@ -170,7 +170,7 @@ void MqttBroker::onClient(void* broker_ptr, TcpClient* client)
|
|||||||
void MqttBroker::loop()
|
void MqttBroker::loop()
|
||||||
{
|
{
|
||||||
#ifndef TINY_MQTT_ASYNC
|
#ifndef TINY_MQTT_ASYNC
|
||||||
WiFiClient client = server->available();
|
WiFiClient client = server->accept();
|
||||||
|
|
||||||
if (client)
|
if (client)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user