diff options
Diffstat (limited to 'common/print.c')
| -rw-r--r-- | common/print.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/common/print.c b/common/print.c index 783bb4e9b..c13a29f31 100644 --- a/common/print.c +++ b/common/print.c | |||
| @@ -37,26 +37,4 @@ void print_set_sendchar(int8_t (*sendchar_func)(uint8_t)) | |||
| 37 | xdev_out(sendchar_func); | 37 | xdev_out(sendchar_func); |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | void print_S(const char *s) | ||
| 41 | { | ||
| 42 | uint8_t c; | ||
| 43 | while (1) { | ||
| 44 | c = *s++; | ||
| 45 | if (!c) break; | ||
| 46 | if (c == '\n') sendchar('\r'); | ||
| 47 | sendchar(c); | ||
| 48 | } | ||
| 49 | } | ||
| 50 | |||
| 51 | void print_lf(void) | ||
| 52 | { | ||
| 53 | sendchar('\n'); | ||
| 54 | } | ||
| 55 | |||
| 56 | void print_crlf(void) | ||
| 57 | { | ||
| 58 | sendchar('\r'); | ||
| 59 | sendchar('\n'); | ||
| 60 | } | ||
| 61 | |||
| 62 | #endif | 40 | #endif |
