Skip to content

Commit e53da68

Browse files
John Doeigrr
authored andcommitted
send not needed to be public
1 parent cbb1fc6 commit e53da68

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

hardware/esp8266com/esp8266/libraries/ESP8266SSDP/ESP8266SSDP.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ void SSDPClass::begin(){
182182
_server.begin(SSDP_PORT);
183183
}
184184

185-
void SSDPClass::send(ssdp_method_t method){
185+
void SSDPClass::_send(ssdp_method_t method){
186186
#ifdef DEBUG_SSDP
187187
if(method == NONE){
188188
DEBUG_SSDP.print("Sending Response to ");
@@ -319,10 +319,10 @@ uint8_t SSDPClass::update(){
319319

320320
if(_pending && (millis() - _process_time) > _delay){
321321
_pending = false; _delay = 0;
322-
send(NONE);
322+
_send(NONE);
323323
}else if(_notify_time == 0 || (millis() - _notify_time) > (SSDP_INTERVAL * 1000L)){
324324
_notify_time = millis();
325-
send(NOTIFY);
325+
_send(NOTIFY);
326326
}
327327
}
328328

hardware/esp8266com/esp8266/libraries/ESP8266SSDP/ESP8266SSDP.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class SSDPClass{
4646

4747
void begin();
4848
uint8_t update();
49-
void send(ssdp_method_t method);
5049
void schema(WiFiClient client);
5150

5251
void setName(char *name);
@@ -78,6 +77,8 @@ class SSDPClass{
7877
char *_modelName;
7978
char *_modelURL;
8079
char *_modelNumber;
80+
81+
void _send(ssdp_method_t method);
8182
};
8283

8384
extern SSDPClass SSDP;

hardware/esp8266com/esp8266/libraries/ESP8266SSDP/keywords.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ SSDP KEYWORD1
1515

1616
begin KEYWORD2
1717
update KEYWORD2
18-
send KEYWORD2
1918
schema KEYWORD2
2019
setName KEYWORD2
2120
setURL KEYWORD2

0 commit comments

Comments
 (0)