From 8219cf327148bf43860c8fd2fe934deb4f15589e Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com> Date: Sat, 29 Aug 2020 15:15:38 +0300 Subject: [PATCH] ssdp fixed --- include/SSDP.h | 1 + src/SSDP.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/include/SSDP.h b/include/SSDP.h index 3174142a..12b6f6e1 100644 --- a/include/SSDP.h +++ b/include/SSDP.h @@ -1,4 +1,5 @@ #pragma once +#include extern void SsdpInit(); extern String xmlNode(String tags, String data); diff --git a/src/SSDP.cpp b/src/SSDP.cpp index 26c67000..f3d47a8a 100644 --- a/src/SSDP.cpp +++ b/src/SSDP.cpp @@ -1,4 +1,4 @@ -#include +//#include #include #include "Global.h" @@ -33,9 +33,9 @@ void SsdpInit() { request->send(200, "text/xml", ssdpSend); }); //Если версия 2.0.0 закаментируйте следующую строчку - SSDP.setDeviceType("upnp:rootdevice"); - SSDP.setSchemaURL("description.xml"); - SSDP.begin(); + //SSDP.setDeviceType("upnp:rootdevice"); + //SSDP.setSchemaURL("description.xml"); + //SSDP.begin(); } String xmlNode(String tags, String data) {