From 82a33b6ca78ccf785a1145d21dc99b05628ee41e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sun, 1 Jul 2018 09:05:30 +0200 Subject: [PATCH] Fix reference to DEVICE_NAME --- code/espurna/ssdp.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/espurna/ssdp.ino b/code/espurna/ssdp.ino index 7927f380..b86caf96 100644 --- a/code/espurna/ssdp.ino +++ b/code/espurna/ssdp.ino @@ -56,7 +56,7 @@ void ssdpSetup() { APP_NAME, // modelName APP_VERSION, // modelNumber APP_WEBSITE, // modelURL - getDevice(), // manufacturer + getDevice().c_str(), // manufacturer "", // manufacturerURL chipId // UUID ); @@ -73,7 +73,7 @@ void ssdpSetup() { SSDP.setModelName(APP_NAME); SSDP.setModelNumber(APP_VERSION); SSDP.setModelURL(APP_WEBSITE); - SSDP.setManufacturer(DEVICE_NAME); + SSDP.setManufacturer(getDevice()); SSDP.setManufacturerURL(""); SSDP.setURL("/"); SSDP.begin();