修改成为发布版本,注释掉一个console组件
This commit is contained in:
@@ -606,10 +606,10 @@ void app_main(void)
|
||||
ESP_ERROR_CHECK(mqtt_control_register_command_handler(mqtt_control_command_handler, NULL));
|
||||
ESP_ERROR_CHECK(mqtt_control_start()); // 启动 MQTT 客户端
|
||||
|
||||
ESP_ERROR_CHECK(console_cmd_init());
|
||||
ESP_ERROR_CHECK(console_user_cmds_register());
|
||||
ESP_ERROR_CHECK(console_cmd_all_register()); // 可选:自动注册插件命令
|
||||
ESP_ERROR_CHECK(console_cmd_start());
|
||||
// ESP_ERROR_CHECK(console_cmd_init());
|
||||
// ESP_ERROR_CHECK(console_user_cmds_register());
|
||||
// ESP_ERROR_CHECK(console_cmd_all_register()); // 可选:自动注册插件命令
|
||||
// ESP_ERROR_CHECK(console_cmd_start());
|
||||
|
||||
auto_ctrl_thresholds_init_defaults();
|
||||
auto_alerts_init();
|
||||
|
||||
Reference in New Issue
Block a user