diff --git a/CommandStation-EX.ino b/CommandStation-EX.ino index 645958d..a04d03e 100644 --- a/CommandStation-EX.ino +++ b/CommandStation-EX.ino @@ -76,9 +76,7 @@ void setup() #endif // ETHERNET_ON #if MQTT_ON - DccMQTT mq; - // We assume here that we have a network connection - mq.setup(); + DccMQTT::get()->setup(); #endif