1
0
Fork 0

Add keyboard/mbed_onekey

This commit is contained in:
tmk 2014-06-15 13:56:17 +09:00
parent 79840c678e
commit f15b2691c9
10 changed files with 640 additions and 93 deletions

View file

@ -37,26 +37,4 @@ void print_set_sendchar(int8_t (*sendchar_func)(uint8_t))
xdev_out(sendchar_func);
}
void print_S(const char *s)
{
uint8_t c;
while (1) {
c = *s++;
if (!c) break;
if (c == '\n') sendchar('\r');
sendchar(c);
}
}
void print_lf(void)
{
sendchar('\n');
}
void print_crlf(void)
{
sendchar('\r');
sendchar('\n');
}
#endif