From: richardbarry Date: Sun, 13 Apr 2008 16:35:15 +0000 (+0000) Subject: Add variable initialisation. Doesn't really make a difference, just neater. X-Git-Tag: V5.0.0~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5fe0b33968819fd4ddf8fec31426f1317215dd14;p=freertos Add variable initialisation. Doesn't really make a difference, just neater. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@319 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/PIC18_MPLAB/serial/serial.c b/Demo/PIC18_MPLAB/serial/serial.c index 798b237a2..82f9d6e96 100644 --- a/Demo/PIC18_MPLAB/serial/serial.c +++ b/Demo/PIC18_MPLAB/serial/serial.c @@ -230,7 +230,7 @@ portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; #pragma interruptlow vSerialTxISR save=PRODH, PRODL, TABLAT, section(".tmpdata") void vSerialTxISR( void ) { -portCHAR cChar, cTaskWoken; +portCHAR cChar, cTaskWoken = pdFALSE; if( xQueueReceiveFromISR( xCharsForTx, &cChar, &cTaskWoken ) == pdTRUE ) {