X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=ps2.c;h=6d76538fe4c0b7fb01e1bba26a00d25c9c669eb1;hb=2b8cd88ab142068eed0a3f230a3de79deb567536;hp=f7aaf96e3fa975cec9400d84deb819b3330ad4f4;hpb=04f351b80279c55dfc6c8028f95eab7e01d50c84;p=max%2Ftmk_keyboard.git diff --git a/ps2.c b/ps2.c index f7aaf96e..6d76538f 100644 --- a/ps2.c +++ b/ps2.c @@ -190,7 +190,7 @@ static inline void pbuf_enqueue(uint8_t data) pbuf[pbuf_head] = data; pbuf_head = next; } else { - print("pbuf: full\n"); + debug("pbuf: full\n"); } } static inline uint8_t pbuf_dequeue(void) @@ -214,14 +214,12 @@ uint8_t ps2_host_recv(void) ISR(PS2_INT_VECT) { -PORTC = 0xFF; /* interrupt means start bit comes */ pbuf_enqueue(recv_data()); /* release lines(idle state) */ idle(); _delay_us(5); -PORTC = 0x00; } #endif