Commit eef6f3bf authored by Adam Wujek's avatar Adam Wujek

Revert "boards/ertm14: remove implicit registration of shell commands"

This reverts commit 6f13a7f5.
parent 87e321d9
......@@ -1171,6 +1171,8 @@ extern void phy_calibration_init();
int wrc_board_init()
{
ertm14_shell_init();
evth_dds_nco_sync = event_listener_create();
evth_config_update_listener = event_listener_create();
......
......@@ -208,5 +208,6 @@ int ertm14_apply_config(int config_id);
int ertm14_get_current_config_id(void);
int ertm14_is_config_ready(void);
int ertm14_get_clkab_divider( int freq );
void ertm14_shell_init(void);
#endif /* __BOARD_WRC_H */
......@@ -388,3 +388,9 @@ DEFINE_WRC_COMMAND(ertm_ui) = {
.name = "eu", // fixme
.exec = cmd_ertm_ui,
};
void ertm14_shell_init()
{
shell_register_command( &__wrc_cmd_ertm );
shell_register_command( &__wrc_cmd_ertm_ui );
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment