mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
Fix esp_idf_http to make strings 'weak' (#23256)
This commit is contained in:
parent
929582b1af
commit
2096411be6
@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
|
||||
### Added
|
||||
- Extend command `GPIO` with different display options and allowing updating of module GPIO's in one go
|
||||
- Berry `bytes.add()` now accepts 3-bytes values (#23200)
|
||||
- Berry expose `esp_http_server` for websockets
|
||||
|
||||
### Breaking Changed
|
||||
|
||||
|
@ -828,7 +828,7 @@ bool httpserver_has_queue() {
|
||||
}
|
||||
|
||||
/* @const_object_info_begin
|
||||
module httpserver (scope: global) {
|
||||
module httpserver (scope: global, strings: weak) {
|
||||
start, func(w_httpserver_start)
|
||||
on, func(w_httpserver_on)
|
||||
send, func(w_httpserver_send)
|
||||
|
@ -374,7 +374,7 @@ static int w_webfiles_serve_file(bvm *vm) {
|
||||
|
||||
// Module definition
|
||||
/* @const_object_info_begin
|
||||
module webfiles (scope: global) {
|
||||
module webfiles (scope: global, strings: weak) {
|
||||
serve, func(w_webfiles_serve)
|
||||
serve_file, func(w_webfiles_serve_file)
|
||||
|
||||
|
@ -1299,7 +1299,7 @@ esp_err_t websocket_disconnect_handler(httpd_handle_t hd, int sockfd) {
|
||||
|
||||
// Module definition
|
||||
/* @const_object_info_begin
|
||||
module wsserver (scope: global) {
|
||||
module wsserver (scope: global, strings: weak) {
|
||||
CONNECT, int(WSSERVER_EVENT_CONNECT)
|
||||
DISCONNECT, int(WSSERVER_EVENT_DISCONNECT)
|
||||
MESSAGE, int(WSSERVER_EVENT_MESSAGE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user