hosted: Fix "monitor version"
This commit is contained in:
parent
da15cc3cb7
commit
88cce08ce4
|
@ -134,17 +134,17 @@ bool cmd_version(target *t, int argc, char **argv)
|
|||
(void)t;
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
gdb_out(BOARD_IDENT);
|
||||
#if PC_HOSTED == 1
|
||||
char ident[256];
|
||||
gdb_ident(ident, sizeof(ident));
|
||||
gdb_outf("\n for %s\n", ident);
|
||||
DEBUG_WARN("%s\n", ident);
|
||||
#else
|
||||
gdb_out(BOARD_IDENT);
|
||||
gdb_outf(", Hardware Version %d\n", platform_hwversion());
|
||||
#endif
|
||||
gdb_out("Copyright (C) 2015 Black Sphere Technologies Ltd.\n");
|
||||
gdb_out("License GPLv3+: GNU GPL version 3 or later "
|
||||
"<http://gnu.org/licenses/gpl.html>\n\n");
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue