mirror of https://github.com/arendst/Tasmota.git
Merge pull request #14003 from s-hadinger/berry_fix_webclient
Berry fix webclient
This commit is contained in:
commit
289ba39df7
|
@ -135,6 +135,7 @@ extern void be_load_I2C_Driver_class(bvm *vm);
|
||||||
extern void be_load_AXP192_class(bvm *vm);
|
extern void be_load_AXP192_class(bvm *vm);
|
||||||
extern void be_load_md5_lib(bvm *vm);
|
extern void be_load_md5_lib(bvm *vm);
|
||||||
extern void be_load_webclient_lib(bvm *vm);
|
extern void be_load_webclient_lib(bvm *vm);
|
||||||
|
extern void be_load_tcpclient_lib(bvm *vm);
|
||||||
extern void be_load_crypto_lib(bvm *vm);
|
extern void be_load_crypto_lib(bvm *vm);
|
||||||
extern void be_load_Leds_ntv_class(bvm *vm);
|
extern void be_load_Leds_ntv_class(bvm *vm);
|
||||||
extern void be_load_Leds_class(bvm *vm);
|
extern void be_load_Leds_class(bvm *vm);
|
||||||
|
@ -189,6 +190,7 @@ BERRY_API void be_load_custom_libs(bvm *vm)
|
||||||
#endif // USE_ENERGY_SENSOR
|
#endif // USE_ENERGY_SENSOR
|
||||||
#ifdef USE_WEBCLIENT
|
#ifdef USE_WEBCLIENT
|
||||||
be_load_webclient_lib(vm);
|
be_load_webclient_lib(vm);
|
||||||
|
be_load_tcpclient_lib(vm);
|
||||||
#endif // USE_WEBCLIENT
|
#endif // USE_WEBCLIENT
|
||||||
#if defined(USE_ONEWIRE) || defined(USE_DS18x20)
|
#if defined(USE_ONEWIRE) || defined(USE_DS18x20)
|
||||||
be_load_onewirelib(vm);
|
be_load_onewirelib(vm);
|
||||||
|
|
|
@ -22,7 +22,7 @@ extern int wc_tcp_readbytes(bvm *vm);
|
||||||
|
|
||||||
#include "../generate/be_fixed_be_class_tcpclient.h"
|
#include "../generate/be_fixed_be_class_tcpclient.h"
|
||||||
|
|
||||||
void be_load_webclient_lib(bvm *vm) {
|
void be_load_tcpclient_lib(bvm *vm) {
|
||||||
be_pushntvclass(vm, &be_class_tcpclient);
|
be_pushntvclass(vm, &be_class_tcpclient);
|
||||||
be_setglobal(vm, "tcpclient");
|
be_setglobal(vm, "tcpclient");
|
||||||
be_pop(vm, 1);
|
be_pop(vm, 1);
|
||||||
|
|
Loading…
Reference in New Issue