mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -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;
|
portBASE_TYPE xReturn = pdTRUE;
|
||||||
|
|
||||||
|
/* Just to remove compiler warning. */
|
||||||
|
( void ) pxPort;
|
||||||
|
|
||||||
portENTER_CRITICAL();
|
portENTER_CRITICAL();
|
||||||
{
|
{
|
||||||
/* If the UART FIFO is full we can block posting the new data on the
|
/* 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;
|
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE, lDidSomething;
|
||||||
portCHAR cChar;
|
portCHAR cChar;
|
||||||
|
|
||||||
|
/* Just to remove compiler warning. */
|
||||||
|
( void ) pxUART;
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
lDidSomething = pdFALSE;
|
lDidSomething = pdFALSE;
|
||||||
|
|
Loading…
Reference in a new issue