From 0433800ece0c873edbea350b6ec3356d70052db1 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Wed, 12 Jan 2011 09:56:56 +0000 Subject: [PATCH] Rename the UART ISR in the MSP430X/IAR demo to match the UART actually being used. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1236 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/MSP430X_MSP430F5438_IAR/serial.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Demo/MSP430X_MSP430F5438_IAR/serial.c b/Demo/MSP430X_MSP430F5438_IAR/serial.c index 89ca091bd..4c6e3b189 100644 --- a/Demo/MSP430X_MSP430F5438_IAR/serial.c +++ b/Demo/MSP430X_MSP430F5438_IAR/serial.c @@ -55,7 +55,7 @@ /* BASIC INTERRUPT DRIVEN SERIAL PORT DRIVER. * * This is not a proper UART driver. It only supports one port, uses loopback - * mode, and is used to test interrupts that use the FreeRTOS API as part of + * mode, and is used to test interrupts that use the FreeRTOS API as part of * a wider test suite. Nor is it intended to show an efficient implementation * of a UART interrupt service routine as queues are used to pass individual * characters one at a time! @@ -158,7 +158,7 @@ signed portBASE_TYPE xReturn; /*-----------------------------------------------------------*/ #pragma vector=USCI_A1_VECTOR -static __interrupt void prvUSCI_A0_ISR( void ) +static __interrupt void prvUSCI_A1_ISR( void ) { signed portCHAR cChar; portBASE_TYPE xTaskWoken = pdFALSE; @@ -196,7 +196,7 @@ portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; has a priority equal to or above the task that this interrupt interrupted, then lHigherPriorityTaskWoken will have been set to pdTRUE internally within xQueuesendFromISR(), and portEND_SWITCHING_ISR() will ensure that this - interrupt returns directly to the higher priority unblocked task. + interrupt returns directly to the higher priority unblocked task. THIS MUST BE THE LAST THING DONE IN THE ISR. */ portYIELD_FROM_ISR( xHigherPriorityTaskWoken ); -- 2.39.5