Add #if HASP_USE_MDNS check

This commit is contained in:
fvanroie 2021-07-06 01:59:48 +02:00
parent 15aba77c45
commit ce4df6d810

View File

@ -48,7 +48,9 @@ void networkStop(void)
#if HASP_USE_HTTP > 0 || HASP_USE_HTTP_ASYNC > 0 #if HASP_USE_HTTP > 0 || HASP_USE_HTTP_ASYNC > 0
httpStop(); httpStop();
#endif #endif
#if HASP_USE_MDNS > 0
mdnsStop(); mdnsStop();
#endif
} }
void networkSetup() void networkSetup()