From c77b30e9e6069c893b8461e104e7893762ed81a7 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 16 Feb 2010 13:12:59 +0000 Subject: Clean up XPLAINBridge code. --- Projects/XPLAINBridge/Lib/SoftUART.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Projects/XPLAINBridge/Lib/SoftUART.c') diff --git a/Projects/XPLAINBridge/Lib/SoftUART.c b/Projects/XPLAINBridge/Lib/SoftUART.c index bc0265378..01f9b2e12 100644 --- a/Projects/XPLAINBridge/Lib/SoftUART.c +++ b/Projects/XPLAINBridge/Lib/SoftUART.c @@ -35,12 +35,12 @@ volatile uint8_t srx_done, stx_count; volatile uint8_t srx_data, srx_mask, srx_tmp, stx_data; -unsigned char SoftUART_IsReady(void) +uint8_t SoftUART_IsReady(void) { return !(stx_count); } -unsigned char SoftUART_TxByte(unsigned char c) +uint8_t SoftUART_TxByte(uint8_t c) { while (stx_count); @@ -50,12 +50,12 @@ unsigned char SoftUART_TxByte(unsigned char c) return c; } -unsigned char SoftUART_IsReceived(void) +uint8_t SoftUART_IsReceived(void) { return srx_done; } -unsigned char SoftUART_RxByte(void) +uint8_t SoftUART_RxByte(void) { while (!(srx_done)); -- cgit v1.2.3