Add const keyword to the demo function parameters where possible.
This commit is contained in:
parent
55db57e1ed
commit
fc8e4837a9
47 changed files with 158 additions and 158 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue