diff options
| author | tmk <nobody@nowhere> | 2011-09-17 22:39:50 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2011-09-17 23:53:18 +0900 |
| commit | e67c988824f5ec0c965beb412f8ee5953dfd3c8c (patch) | |
| tree | 190543f5bddfd31a326234aad91a0a995e55863a /print.c | |
| parent | b703de7b298f8463bf4654fa3730ba1958a7fa9e (diff) | |
| download | qmk_firmware-e67c988824f5ec0c965beb412f8ee5953dfd3c8c.tar.gz qmk_firmware-e67c988824f5ec0c965beb412f8ee5953dfd3c8c.zip | |
Added Bulegiga iWRAP support into HHKB.(Bluetooth)
Diffstat (limited to 'print.c')
| -rw-r--r-- | print.c | 13 |
1 files changed, 13 insertions, 0 deletions
| @@ -29,6 +29,19 @@ | |||
| 29 | 29 | ||
| 30 | bool print_enable = false; | 30 | bool print_enable = false; |
| 31 | 31 | ||
| 32 | void print_S(const char *s) | ||
| 33 | { | ||
| 34 | if (!print_enable) return; | ||
| 35 | char c; | ||
| 36 | |||
| 37 | while (1) { | ||
| 38 | c = *s++; | ||
| 39 | if (!c) break; | ||
| 40 | if (c == '\n') sendchar('\r'); | ||
| 41 | sendchar(c); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | |||
| 32 | void print_P(const char *s) | 45 | void print_P(const char *s) |
| 33 | { | 46 | { |
| 34 | if (!print_enable) return; | 47 | if (!print_enable) return; |
