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)
|
void morse(const char *msg, char repeat)
|
||||||
{
|
{
|
||||||
|
#if defined(PC_HOSTED)
|
||||||
|
if (msg)
|
||||||
|
DEBUG("%s\n", msg);
|
||||||
|
(void) repeat;
|
||||||
|
#else
|
||||||
morse_msg = morse_ptr = msg;
|
morse_msg = morse_ptr = msg;
|
||||||
morse_repeat = repeat;
|
morse_repeat = repeat;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
bool morse_update(void)
|
bool morse_update(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user