mirror of
https://github.com/arendst/Tasmota.git
synced 2026-07-27 20:05:46 +00:00
Berry remove mdns.stop() (#24549)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user