diff --git a/CHANGELOG.md b/CHANGELOG.md index 50dd9f448..7bb3302f2 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ All notable changes to this project will be documented in this file. - Crash when shutting down Wifi with `Wifi 0` (#24536) ### Removed +- Berry remove `mdns.stop()` ## [15.3.0.1] 20260308 ### Added diff --git a/lib/libesp32/berry_tasmota/src/be_mdns_module.c b/lib/libesp32/berry_tasmota/src/be_mdns_module.c index 19bc1ac84..c81316587 100644 --- a/lib/libesp32/berry_tasmota/src/be_mdns_module.c +++ b/lib/libesp32/berry_tasmota/src/be_mdns_module.c @@ -14,9 +14,6 @@ extern void m_mdns_start(struct bvm *vm, const char* hostname); BE_FUNC_CTYPE_DECLARE(m_mdns_start, "", "@[s]") -extern void m_mdns_stop(void); -BE_FUNC_CTYPE_DECLARE(m_mdns_stop, "", "") - extern void m_mdns_set_hostname(struct bvm *vm, const char * hostname); BE_FUNC_CTYPE_DECLARE(m_mdns_set_hostname, "", "@s") @@ -29,7 +26,6 @@ extern int m_dns_find_service(struct bvm *vm); /* @const_object_info_begin module mdns (scope: global) { start, ctype_func(m_mdns_start) - stop, ctype_func(m_mdns_stop) set_hostname, ctype_func(m_mdns_set_hostname) add_service, func(m_mdns_add_service) add_hostname, func(m_dns_add_hostname) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_mdns.ino b/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_mdns.ino index cfa50cf73..02b77180d 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_mdns.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_mdns.ino @@ -45,14 +45,6 @@ extern "C" { } BE_FUNC_CTYPE_DECLARE(m_mdns_start, "", "@[s]") - // - // `msdn.stop() -> nil` - // free all mdns resources - void m_mdns_stop(void) { - mdns_free(); - } - BE_FUNC_CTYPE_DECLARE(m_mdns_stop, "", "") - // // `mdns.set_hostname(hostname:string) -> nil` // change the hostname