diff --git a/lib/libesp32/berry/src/be_globallib.c b/lib/libesp32/berry/src/be_globallib.c index 6ff96b204..6597fe78b 100644 --- a/lib/libesp32/berry/src/be_globallib.c +++ b/lib/libesp32/berry/src/be_globallib.c @@ -72,7 +72,6 @@ static int m_setglobal(bvm *vm) if (top >= 2 && be_isstring(vm, 1)) { const char * name = be_tostring(vm, 1); be_setglobal(vm, name); - be_return(vm); } be_return_nil(vm); } diff --git a/tasmota/tasmota_xdrv_driver/xdrv_52_7_berry_embedded.ino b/tasmota/tasmota_xdrv_driver/xdrv_52_7_berry_embedded.ino index e571e5a88..08fdb1e88 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_52_7_berry_embedded.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_52_7_berry_embedded.ino @@ -31,8 +31,8 @@ const char berry_prog[] = #ifdef USE_BERRY_PYTHON_COMPAT // enable python syntax compatibility mode "import python_compat " - "import cb " #endif + "import cb " #ifdef USE_ENERGY_SENSOR "import energy "