]> git.sur5r.net Git - freertos/commitdiff
Add variable initialisation. Doesn't really make a difference, just neater.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 13 Apr 2008 16:33:30 +0000 (16:33 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 13 Apr 2008 16:33:30 +0000 (16:33 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@317 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/msp430_CrossWorks/serial/serial.c

index fda0b684db83e86d2d2dea1951d96553ea9ff9c4..1586e1734478f38dabba67053838406065889cef 100644 (file)
@@ -234,7 +234,7 @@ signed portBASE_TYPE xReturn;
        void vTxISR( void ) __interrupt[ UART1TX_VECTOR ]\r
        {\r
        signed portCHAR cChar;\r
-       portBASE_TYPE xTaskWoken;\r
+       portBASE_TYPE xTaskWoken = pdFALSE;\r
        \r
                /* The previous character has been transmitted.  See if there are any\r
                further characters waiting transmission. */\r
@@ -282,7 +282,7 @@ signed portBASE_TYPE xReturn;
        void ISRCom1Tx( void )\r
        {\r
        signed portCHAR cChar;\r
-       portBASE_TYPE xTaskWoken;\r
+       portBASE_TYPE xTaskWoken = pdFALSE;\r
        \r
                /* The previous character has been transmitted.  See if there are any\r
                further characters waiting transmission. */\r