From fc8e4837a936bb1b4bd19bdd54660878b3efe02c Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 18 Apr 2010 12:10:30 +0000 Subject: Add const keyword to the demo function parameters where possible. --- Projects/XPLAINBridge/Lib/SoftUART.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Projects/XPLAINBridge/Lib') diff --git a/Projects/XPLAINBridge/Lib/SoftUART.c b/Projects/XPLAINBridge/Lib/SoftUART.c index 01f9b2e12..31b11c1cf 100644 --- a/Projects/XPLAINBridge/Lib/SoftUART.c +++ b/Projects/XPLAINBridge/Lib/SoftUART.c @@ -40,14 +40,14 @@ uint8_t SoftUART_IsReady(void) return !(stx_count); } -uint8_t SoftUART_TxByte(uint8_t c) +uint8_t SoftUART_TxByte(uint8_t Byte) { while (stx_count); - stx_data = ~c; + stx_data = ~Byte; stx_count = 10; - return c; + return Byte; } uint8_t SoftUART_IsReceived(void) -- cgit v1.2.3