From e67c988824f5ec0c965beb412f8ee5953dfd3c8c Mon Sep 17 00:00:00 2001 From: tmk Date: Sat, 17 Sep 2011 22:39:50 +0900 Subject: Added Bulegiga iWRAP support into HHKB.(Bluetooth) --- print.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'print.c') diff --git a/print.c b/print.c index d9152971b..558181ea7 100644 --- a/print.c +++ b/print.c @@ -29,6 +29,19 @@ bool print_enable = false; +void print_S(const char *s) +{ + if (!print_enable) return; + char c; + + while (1) { + c = *s++; + if (!c) break; + if (c == '\n') sendchar('\r'); + sendchar(c); + } +} + void print_P(const char *s) { if (!print_enable) return; -- cgit v1.2.3-24-g4f1b