Skip to content

Commit ac782ac

Browse files
authored
Berry remove mdns.stop() (#24549)
1 parent da48786 commit ac782ac

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ All notable changes to this project will be documented in this file.
2222
- Crash when shutting down Wifi with `Wifi 0` (#24536)
2323

2424
### Removed
25+
- Berry remove `mdns.stop()`
2526

2627
## [15.3.0.1] 20260308
2728
### Added

lib/libesp32/berry_tasmota/src/be_mdns_module.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
extern void m_mdns_start(struct bvm *vm, const char* hostname);
1515
BE_FUNC_CTYPE_DECLARE(m_mdns_start, "", "@[s]")
1616

17-
extern void m_mdns_stop(void);
18-
BE_FUNC_CTYPE_DECLARE(m_mdns_stop, "", "")
19-
2017
extern void m_mdns_set_hostname(struct bvm *vm, const char * hostname);
2118
BE_FUNC_CTYPE_DECLARE(m_mdns_set_hostname, "", "@s")
2219

@@ -29,7 +26,6 @@ extern int m_dns_find_service(struct bvm *vm);
2926
/* @const_object_info_begin
3027
module mdns (scope: global) {
3128
start, ctype_func(m_mdns_start)
32-
stop, ctype_func(m_mdns_stop)
3329
set_hostname, ctype_func(m_mdns_set_hostname)
3430
add_service, func(m_mdns_add_service)
3531
add_hostname, func(m_dns_add_hostname)

tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_mdns.ino

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,6 @@ extern "C" {
4545
}
4646
BE_FUNC_CTYPE_DECLARE(m_mdns_start, "", "@[s]")
4747

48-
//
49-
// `msdn.stop() -> nil`
50-
// free all mdns resources
51-
void m_mdns_stop(void) {
52-
mdns_free();
53-
}
54-
BE_FUNC_CTYPE_DECLARE(m_mdns_stop, "", "")
55-
5648
//
5749
// `mdns.set_hostname(hostname:string) -> nil`
5850
// change the hostname

0 commit comments

Comments
 (0)