From 5552b5afeaa9ce7432f9ded3586984253f292d80 Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 8 Feb 2011 00:59:31 +0900 Subject: define sendcha() in usb_debug.c --- usb_debug.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usb_debug.c') diff --git a/usb_debug.c b/usb_debug.c index 97590184a5..09048e0f16 100644 --- a/usb_debug.c +++ b/usb_debug.c @@ -1,4 +1,5 @@ #include +#include "sendchar.h" #include "usb_debug.h" @@ -7,8 +8,7 @@ volatile uint8_t debug_flush_timer=0; -// transmit a character. 0 returned on success, -1 on error -int8_t usb_debug_putchar(uint8_t c) +int8_t sendchar(uint8_t c) { static uint8_t previous_timeout=0; uint8_t timeout, intr_state; @@ -60,7 +60,6 @@ int8_t usb_debug_putchar(uint8_t c) return 0; } - // immediately transmit any buffered output. void usb_debug_flush_output(void) { -- cgit v1.2.3