command: When debug channel is available, print morse messages readable.
This commit is contained in:
parent
776861c6a0
commit
73e6b540b2
|
@ -291,8 +291,10 @@ bool cmd_morse(target *t, int argc, char **argv)
|
||||||
(void)t;
|
(void)t;
|
||||||
(void)argc;
|
(void)argc;
|
||||||
(void)argv;
|
(void)argv;
|
||||||
if(morse_msg)
|
if(morse_msg) {
|
||||||
gdb_outf("%s\n", morse_msg);
|
gdb_outf("%s\n", morse_msg);
|
||||||
|
DEBUG_WARN("%s\n", morse_msg);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue