pc-hosted: Display morse message on controlling terminal.
This commit is contained in:
parent
80a9fd51ca
commit
86d0be9708
|
@ -59,8 +59,14 @@ static char morse_repeat;
|
|||
|
||||
void morse(const char *msg, char repeat)
|
||||
{
|
||||
morse_msg = morse_ptr = msg;
|
||||
#if defined(PC_HOSTED)
|
||||
if (msg)
|
||||
DEBUG("%s\n", msg);
|
||||
(void) repeat;
|
||||
#else
|
||||
morse_msg = morse_ptr = msg;
|
||||
morse_repeat = repeat;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool morse_update(void)
|
||||
|
|
Loading…
Reference in New Issue