mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-16 12:28:11 +00:00
Remove compiler warnings.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user