Added incomplete MIDIToneGenerator project.
[pub/USBasp.git] / Projects / XPLAINBridge / Lib / SoftUART.c
index bc02653..01f9b2e 100644 (file)
 volatile uint8_t srx_done, stx_count;\r
 volatile uint8_t srx_data, srx_mask, srx_tmp, stx_data;\r
 \r
-unsigned char SoftUART_IsReady(void)\r
+uint8_t SoftUART_IsReady(void)\r
 {\r
        return !(stx_count);\r
 }\r
 \r
-unsigned char SoftUART_TxByte(unsigned char c)\r
+uint8_t SoftUART_TxByte(uint8_t c)\r
 {\r
        while (stx_count);\r
 \r
@@ -50,12 +50,12 @@ unsigned char SoftUART_TxByte(unsigned char c)
        return c;\r
 }\r
 \r
-unsigned char SoftUART_IsReceived(void)\r
+uint8_t SoftUART_IsReceived(void)\r
 {\r
        return srx_done;\r
 }\r
 \r
-unsigned char SoftUART_RxByte(void)\r
+uint8_t SoftUART_RxByte(void)\r
 {\r
        while (!(srx_done));\r
 \r