From 8b4fa599cf485f5d06314938a228a88dabb0b7f5 Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 28 Nov 2013 14:44:59 +0900 Subject: Add included header file and fix debug print --- protocol/ps2_usart.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'protocol/ps2_usart.c') diff --git a/protocol/ps2_usart.c b/protocol/ps2_usart.c index 27947143ee..c2d9d0a208 100644 --- a/protocol/ps2_usart.c +++ b/protocol/ps2_usart.c @@ -40,11 +40,10 @@ POSSIBILITY OF SUCH DAMAGE. */ #include -#include #include #include #include "ps2.h" -#include "debug.h" +#include "print.h" #define WAIT(stat, us, err) do { \ @@ -188,7 +187,7 @@ static inline void pbuf_enqueue(uint8_t data) pbuf[pbuf_head] = data; pbuf_head = next; } else { - debug("pbuf: full\n"); + print("pbuf: full\n"); } SREG = sreg; } -- cgit v1.2.3