forked from mirrors/qmk_userspace
Added Bulegiga iWRAP support into HHKB.(Bluetooth)
This commit is contained in:
parent
b703de7b29
commit
e67c988824
90 changed files with 3154 additions and 541 deletions
13
print.c
13
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue