]> 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:35:15 +0000 (16:35 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 13 Apr 2008 16:35:15 +0000 (16:35 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@319 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/PIC18_MPLAB/serial/serial.c

index 798b237a29cf6e1a6e9ade697a9078b8d5229d44..82f9d6e9645f312958a627e0692b1465029ea35f 100644 (file)
@@ -230,7 +230,7 @@ portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
 #pragma interruptlow vSerialTxISR save=PRODH, PRODL, TABLAT, section(".tmpdata")\r
 void vSerialTxISR( void )\r
 {\r
-portCHAR cChar, cTaskWoken;\r
+portCHAR cChar, cTaskWoken = pdFALSE;\r
 \r
        if( xQueueReceiveFromISR( xCharsForTx, &cChar, &cTaskWoken ) == pdTRUE )\r
        {\r