Skip to content

Commit 3eea958

Browse files
committed
Update ESP32SSDP.cpp
fix description using string instead of char *
1 parent e28ef87 commit 3eea958

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ESP32SSDP.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ License (MIT license):
3131
#include "WiFiUdp.h"
3232
#include <lwip/ip_addr.h>
3333

34-
//#define DEBUG_SSDP Serial
34+
#define DEBUG_SSDP Serial
3535

3636
#define SSDP_INTERVAL 1200
3737
#define SSDP_PORT 1900
@@ -261,7 +261,7 @@ void SSDPClass::schema(WiFiClient client){
261261
_presentationURL,
262262
_serialNumber,
263263
_modelName,
264-
_modelDescription,
264+
_modelDescription.c_str(),
265265
_modelNumber,
266266
_modelURL,
267267
_manufacturer,

0 commit comments

Comments
 (0)