Test with -Wextra, fix library warnings due to unused function parameters.
This commit is contained in:
parent
32b7762325
commit
6648234157
13 changed files with 29 additions and 13 deletions
|
@ -35,12 +35,15 @@ FILE USARTStream = FDEV_SETUP_STREAM(SerialStream_TxByte, SerialStream_RxByte, _
|
|||
|
||||
static int SerialStream_TxByte(char DataByte, FILE *Stream)
|
||||
{
|
||||
(void)Stream;
|
||||
|
||||
Serial_TxByte(DataByte);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int SerialStream_RxByte(FILE *Stream)
|
||||
{
|
||||
(void)Stream;
|
||||
|
||||
return Serial_RxByte();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue