/*\r
- FreeRTOS.org V5.1.0 - Copyright (C) 2003-2008 Richard Barry.\r
+ FreeRTOS.org V5.1.1 - Copyright (C) 2003-2008 Richard Barry.\r
\r
This file is part of the FreeRTOS.org distribution.\r
\r
\r
if( uxLED <= partstMAX_OUTPUT_LED )\r
{\r
- ucBit <<= uxLED;\r
- } \r
+ ucBit <<= uxLED; \r
\r
- vTaskSuspendAll();\r
- {\r
- if( xValue == pdTRUE )\r
- {\r
- ucBit ^= ( unsigned portCHAR ) 0xff;\r
- ucCurrentOutputValue &= ucBit;\r
- }\r
- else\r
+ vTaskSuspendAll();\r
{\r
- ucCurrentOutputValue |= ucBit;\r
- }\r
+ if( xValue == pdTRUE )\r
+ {\r
+ ucBit ^= ( unsigned portCHAR ) 0xff;\r
+ ucCurrentOutputValue &= ucBit;\r
+ }\r
+ else\r
+ {\r
+ ucCurrentOutputValue |= ucBit;\r
+ }\r
\r
- PORTB = ucCurrentOutputValue;\r
+ PORTB = ucCurrentOutputValue;\r
+ }\r
+ xTaskResumeAll();\r
}\r
- xTaskResumeAll();\r
}\r
/*-----------------------------------------------------------*/\r
\r