diff --git a/networkDevices/WifiDevice.cpp b/networkDevices/WifiDevice.cpp index 6eee29e..8a26b59 100644 --- a/networkDevices/WifiDevice.cpp +++ b/networkDevices/WifiDevice.cpp @@ -74,7 +74,7 @@ void WifiDevice::initialize() Serial.println(WiFi.localIP().toString()); } - _mqttClient.setBufferSize(_mqttMaxBufferSize); + _mqttClient->setBufferSize(_mqttMaxBufferSize); } void WifiDevice::reconfigure()