Prepare the MSP430X IAR demo for release.

This commit is contained in:
Richard Barry 2011-01-01 11:27:48 +00:00
parent eb94f856a8
commit 34f15ddecd
12 changed files with 797 additions and 532 deletions

View file

@ -74,6 +74,7 @@ void vParTestInitialise( void )
void vParTestSetLED( unsigned portBASE_TYPE uxLED, signed portBASE_TYPE xValue )
{
/* Only two LEDs are provided on the hardware. */
taskENTER_CRITICAL();
{
if( xValue != pdFALSE )
@ -85,6 +86,9 @@ void vParTestSetLED( unsigned portBASE_TYPE uxLED, signed portBASE_TYPE xValue )
case 1: LED_PORT_OUT |= LED_2;
break;
default: /* Nothing to do here, there are only two LEDs. */
break;
}
}
else
@ -96,6 +100,8 @@ void vParTestSetLED( unsigned portBASE_TYPE uxLED, signed portBASE_TYPE xValue )
case 1: LED_PORT_OUT &= ~LED_2;
break;
default: /* Nothing to do here, there are only two LEDs. */
break;
}
}
}
@ -128,6 +134,8 @@ void vParTestToggleLED( unsigned portBASE_TYPE uxLED )
LED_PORT_OUT &= ~LED_2;
}
break;
default: /* Nothing to do here, there are only two LEDs. */
break;
}
}
taskEXIT_CRITICAL();