projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added incomplete MIDIToneGenerator project.
[pub/USBasp.git]
/
Projects
/
XPLAINBridge
/
Lib
/
SoftUART.c
diff --git
a/Projects/XPLAINBridge/Lib/SoftUART.c
b/Projects/XPLAINBridge/Lib/SoftUART.c
index
bc02653
..
01f9b2e
100644
(file)
--- a/
Projects/XPLAINBridge/Lib/SoftUART.c
+++ b/
Projects/XPLAINBridge/Lib/SoftUART.c
@@
-35,12
+35,12
@@
volatile uint8_t srx_done, stx_count;
\r
volatile uint8_t srx_data, srx_mask, srx_tmp, stx_data;
\r
\r
volatile uint8_t srx_done, stx_count;
\r
volatile uint8_t srx_data, srx_mask, srx_tmp, stx_data;
\r
\r
-u
nsigned char
SoftUART_IsReady(void)
\r
+u
int8_t
SoftUART_IsReady(void)
\r
{
\r
return !(stx_count);
\r
}
\r
\r
{
\r
return !(stx_count);
\r
}
\r
\r
-u
nsigned char SoftUART_TxByte(unsigned char
c)
\r
+u
int8_t SoftUART_TxByte(uint8_t
c)
\r
{
\r
while (stx_count);
\r
\r
{
\r
while (stx_count);
\r
\r
@@
-50,12
+50,12
@@
unsigned char SoftUART_TxByte(unsigned char c)
return c;
\r
}
\r
\r
return c;
\r
}
\r
\r
-u
nsigned char
SoftUART_IsReceived(void)
\r
+u
int8_t
SoftUART_IsReceived(void)
\r
{
\r
return srx_done;
\r
}
\r
\r
{
\r
return srx_done;
\r
}
\r
\r
-u
nsigned char
SoftUART_RxByte(void)
\r
+u
int8_t
SoftUART_RxByte(void)
\r
{
\r
while (!(srx_done));
\r
\r
{
\r
while (!(srx_done));
\r
\r