mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-11-05 11:12:27 -05:00
Remove compiler warnings.
This commit is contained in:
parent
c24a713859
commit
61a5a25a7f
1 changed files with 230 additions and 224 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue