1
0
Fork 0

Add command console and mouseky parameters tweak.

This commit is contained in:
tmk 2012-10-17 03:44:01 +09:00
parent 8f7ed2bc19
commit 30eb3e3520
5 changed files with 400 additions and 84 deletions

View file

@ -75,6 +75,14 @@ void phex16(unsigned int i)
phex(i);
}
void pdec(uint8_t i)
{
if (!print_enable) return;
if (i/100) sendchar('0' + (i/100));
if (i/100 || i%100/10) sendchar('0' + (i%100/10));
sendchar('0' + (i%10));
}
void pbin(unsigned char c)
{