Add command console and mouseky parameters tweak.
This commit is contained in:
parent
8f7ed2bc19
commit
30eb3e3520
5 changed files with 400 additions and 84 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue