This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
mhsw-espurna
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Disable SSDPDevice class instantiation if no SSDP support
fastled
Xose Pérez
7 years ago
parent
233a909149
commit
d6b7743bdd
2 changed files
with
6 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-3
code/espurna/libs/SSDPDevice.cpp
+3
-1
code/espurna/libs/SSDPDevice.h
+ 3
- 3
code/espurna/libs/SSDPDevice.cpp
View File
@ -1,6 +1,4 @@
//
//
//
#
if SSDP_SUPPORT
#
include
"SSDPDevice.h"
#
include
"lwip/igmp.h"
@ -374,3 +372,5 @@ void SSDPDeviceClass::setTTL(const uint8_t ttl) {
}
SSDPDeviceClass
SSDPDevice
;
#
endif
+ 3
- 1
code/espurna/libs/SSDPDevice.h
View File
@ -1,4 +1,4 @@
/
/
SSDPDevice
.
h
#
if SSDP_SUPPORT
/
/
SSDP_SUPPORT
#
ifndef _SSDPDEVICE_h
#
define _SSDPDEVICE_h
@ -194,3 +194,5 @@ public:
extern
SSDPDeviceClass
SSDPDevice
;
#
endif
#
endif
/
/
SSDP_SUPPORT
Write
Preview
Loading…
Cancel
Save