aboutsummaryrefslogtreecommitdiff
path: root/common/print.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-06-15 13:56:17 +0900
committertmk <nobody@nowhere>2014-07-30 14:07:43 +0900
commitf15b2691c92e1d9b3c0e59363c803ec540303f37 (patch)
treee875f43e4726de490c90ec408b3a41f781762904 /common/print.c
parent79840c678e13f9a737f80048bc3b9c9c55e3fc77 (diff)
downloadqmk_firmware-f15b2691c92e1d9b3c0e59363c803ec540303f37.tar.gz
qmk_firmware-f15b2691c92e1d9b3c0e59363c803ec540303f37.zip
Add keyboard/mbed_onekey
Diffstat (limited to 'common/print.c')
-rw-r--r--common/print.c22
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
40void 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
51void print_lf(void)
52{
53 sendchar('\n');
54}
55
56void print_crlf(void)
57{
58 sendchar('\r');
59 sendchar('\n');
60}
61
62#endif 40#endif