Commit 5c4b5e97 by malcolm

style fixes

parent 0c7fd938
Showing with 10 additions and 1 deletions
......@@ -126,13 +126,21 @@ void kbd_irq()
else
{
if(a==0x4b)
{
terminal_adjustcursor(-1,0);
}
else if(a==0x4d)
{
terminal_adjustcursor(1,0);
}
else if(a==0x48)
{
terminal_adjustcursor(0,0);//-1);
}
else if(a==0x50)
{
terminal_adjustcursor(0,0);//1);
}
else if(a<0x80)
{
char in = scan_map[a];
......
......@@ -132,7 +132,8 @@ void terminal_putchar(char c)
}
const char* hexcharss = "0123456789abcdef";
void terminal_hexstring(void* s, uint32_t n) {
void terminal_hexstring(void* s, uint32_t n)
{
char* d = (char*)s;
for (uint32_t i = 0; i < n; i++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment