mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-01-10 17:22:13 +01:00
Fix SSDP
This commit is contained in:
parent
4c23d252e9
commit
52172b02cf
1 changed files with 4 additions and 0 deletions
|
|
@ -747,6 +747,10 @@ void SSDPClass::schema(Print &client) {
|
|||
IPAddress ip = this->localIP();
|
||||
uint8_t devCount = 0;
|
||||
|
||||
for(uint8_t i = 0; i < this->m_cdeviceTypes; i++) {
|
||||
if(strlen(this->deviceTypes[i].deviceType) > 0) devCount++;
|
||||
}
|
||||
|
||||
char schema_template[strlen_P(_ssdp_schema_template)+1];
|
||||
char device_template[strlen_P(_ssdp_device_schema_template)+1];
|
||||
strcpy_P(schema_template, _ssdp_schema_template);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue