Add const keyword to the demo function parameters where possible.
[pub/USBasp.git] / Projects / XPLAINBridge / Lib / SoftUART.c
index 01f9b2e..31b11c1 100644 (file)
@@ -40,14 +40,14 @@ uint8_t SoftUART_IsReady(void)
        return !(stx_count);\r
 }\r
 \r
-uint8_t SoftUART_TxByte(uint8_t c)\r
+uint8_t SoftUART_TxByte(uint8_t Byte)\r
 {\r
        while (stx_count);\r
 \r
-       stx_data  = ~c;\r
+       stx_data  = ~Byte;\r
        stx_count = 10;\r
 \r
-       return c;\r
+       return Byte;\r
 }\r
 \r
 uint8_t SoftUART_IsReceived(void)\r