diff --git a/source/application/shell_commands.c b/source/application/shell_commands.c index 04f627b..0cb89f8 100644 --- a/source/application/shell_commands.c +++ b/source/application/shell_commands.c @@ -22,7 +22,7 @@ static void *drive_forward_cb(const char *param); static void *drive_backward_cb(const char *param); static void *app_version(const char *param); -static struct command drive_forward = { +static struct command cmd_app_version = { .command = "version", .description = "Get application version.", .command_callback = app_version, @@ -79,6 +79,7 @@ int shell_commands_init(void) shell_add_command(&drive_halt); shell_add_command(&drive_turn_left); shell_add_command(&drive_turn_right); + shell_add_command(&cmd_app_version); return 0; }