command: When debug channel is available, print morse messages readable.

This commit is contained in:
Uwe Bonnes 2020-10-22 12:52:38 +02:00 committed by UweBonnes
parent 776861c6a0
commit 73e6b540b2
1 changed files with 3 additions and 1 deletions

View File

@ -291,8 +291,10 @@ bool cmd_morse(target *t, int argc, char **argv)
(void)t;
(void)argc;
(void)argv;
if(morse_msg)
if(morse_msg) {
gdb_outf("%s\n", morse_msg);
DEBUG_WARN("%s\n", morse_msg);
}
return true;
}