diff --git a/ESP/lib/src/network/mDNS/auto/AutoDiscovery.cpp b/ESP/lib/src/network/mDNS/auto/AutoDiscovery.cpp index c42590b..172595b 100644 --- a/ESP/lib/src/network/mDNS/auto/AutoDiscovery.cpp +++ b/ESP/lib/src/network/mDNS/auto/AutoDiscovery.cpp @@ -92,11 +92,6 @@ void AutoDiscovery::stop() stateManager->setState(MDNSState_e::MDNSState_QueryComplete); } -void AutoDiscovery::setCallback(void (*callback)(const char *)) -{ - this->callback = callback; -} - void AutoDiscovery::update(ObserverEvent::Event event) { switch (event) diff --git a/ESP/lib/src/network/mDNS/auto/AutoDiscovery.hpp b/ESP/lib/src/network/mDNS/auto/AutoDiscovery.hpp index 8e4ebb3..cf20ec3 100644 --- a/ESP/lib/src/network/mDNS/auto/AutoDiscovery.hpp +++ b/ESP/lib/src/network/mDNS/auto/AutoDiscovery.hpp @@ -27,7 +27,6 @@ public: ProjectConfig *configManager); ~AutoDiscovery(); void start(); - void setCallback(void (*callback)(const char *)); void update(ObserverEvent::Event event); };