wifi.suspend() 在 NodeMCU Custom Builder 的构建中不可用吗?

Is wifi.suspend() not available in builds from NodeMCU Custom Builder?

我在调用 wifi.suspend(0)

时遇到了这个错误 运行
The option "PMSLEEP_ENABLE" in "app/include/user_config.h" was disabled during FW build!
PANIC: unprotected error in call to Lua API (/opt/lua/myfile.lua:12: wifi.suspend is unavailable)

文档说 wifi.suspend() 默认关闭。

这是否意味着如果我需要启用 wifi.suspend(),我必须构建自己的固件?

是否可以通过 Online Build Tool 翻转旗帜?

Does this mean I have to build my own firmware if I need wifi.suspend() enabled?

是的。

Is the option to flip the flag available via the Online Build Tool?

没有