mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Remove compiler warnings.
This commit is contained in:
parent
c24a713859
commit
61a5a25a7f
|
@ -139,6 +139,9 @@ signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed portCHAR cOut
|
|||
{
|
||||
portBASE_TYPE xReturn = pdTRUE;
|
||||
|
||||
/* Just to remove compiler warning. */
|
||||
( void ) pxPort;
|
||||
|
||||
portENTER_CRITICAL();
|
||||
{
|
||||
/* If the UART FIFO is full we can block posting the new data on the
|
||||
|
@ -187,6 +190,9 @@ unsigned portLONG ulISRStatus;
|
|||
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE, lDidSomething;
|
||||
portCHAR cChar;
|
||||
|
||||
/* Just to remove compiler warning. */
|
||||
( void ) pxUART;
|
||||
|
||||
do
|
||||
{
|
||||
lDidSomething = pdFALSE;
|
||||
|
|
Loading…
Reference in a new issue