mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
Merge branch 'bugfix/shell_client_command' into 'main'
bugfix: Register client command callbacks when matter shell is disabled See merge request app-frameworks/esp-matter!301
This commit is contained in:
@@ -277,8 +277,8 @@ app_driver_handle_t app_driver_switch_init()
|
||||
/* Other initializations */
|
||||
#if CONFIG_ENABLE_CHIP_SHELL
|
||||
app_driver_register_commands();
|
||||
client::set_command_callback(app_driver_client_command_callback, app_driver_client_group_command_callback, NULL);
|
||||
#endif // CONFIG_ENABLE_CHIP_SHELL
|
||||
client::set_command_callback(app_driver_client_command_callback, app_driver_client_group_command_callback, NULL);
|
||||
|
||||
return (app_driver_handle_t)handle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user