mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Automatically print newline on serial interface
For some print_string
This commit is contained in:
@@ -271,6 +271,12 @@ void print_string_no_syslog(__code char *p)
|
||||
write_char_no_syslog(*p++);
|
||||
}
|
||||
|
||||
void print_string_newline_no_syslog(__code char *p)
|
||||
{
|
||||
write_char_no_syslog('\n');
|
||||
print_string_no_syslog(p);
|
||||
}
|
||||
|
||||
void print_string_x(__xdata char *p)
|
||||
{
|
||||
while (*p)
|
||||
|
||||
Reference in New Issue
Block a user