From 5fe0b33968819fd4ddf8fec31426f1317215dd14 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 13 Apr 2008 16:35:15 +0000 Subject: [PATCH] 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 --- Demo/PIC18_MPLAB/serial/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.5