Test with -Wextra, fix library warnings due to unused function parameters.

This commit is contained in:
Dean Camera 2009-12-13 14:43:34 +00:00
parent 32b7762325
commit 6648234157
13 changed files with 29 additions and 13 deletions

View file

@ -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();
}