Browse Source

Fix reference to DEVICE_NAME

v2
Xose Pérez 6 years ago
parent
commit
82a33b6ca7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      code/espurna/ssdp.ino

+ 2
- 2
code/espurna/ssdp.ino View File

@ -56,7 +56,7 @@ void ssdpSetup() {
APP_NAME, // modelName APP_NAME, // modelName
APP_VERSION, // modelNumber APP_VERSION, // modelNumber
APP_WEBSITE, // modelURL APP_WEBSITE, // modelURL
getDevice(), // manufacturer
getDevice().c_str(), // manufacturer
"", // manufacturerURL "", // manufacturerURL
chipId // UUID chipId // UUID
); );
@ -73,7 +73,7 @@ void ssdpSetup() {
SSDP.setModelName(APP_NAME); SSDP.setModelName(APP_NAME);
SSDP.setModelNumber(APP_VERSION); SSDP.setModelNumber(APP_VERSION);
SSDP.setModelURL(APP_WEBSITE); SSDP.setModelURL(APP_WEBSITE);
SSDP.setManufacturer(DEVICE_NAME);
SSDP.setManufacturer(getDevice());
SSDP.setManufacturerURL(""); SSDP.setManufacturerURL("");
SSDP.setURL("/"); SSDP.setURL("/");
SSDP.begin(); SSDP.begin();


Loading…
Cancel
Save