/* Setup the NVIC, LED outputs, and button inputs.  */
static void prvSetupHardware(void)
/* Setup the NVIC, LED outputs, and button inputs.  */
static void prvSetupHardware(void)
{
	NVIC_PriorityGroupConfig( NVIC_PriorityGroup_4 );
	STM32vldiscovery_LEDInit( LED3 );
	STM32vldiscovery_LEDInit( LED4 );
	STM32vldiscovery_PBInit( BUTTON_USER, BUTTON_MODE_EXTI );
	STM32vldiscovery_LEDOff( LED3 );
	STM32vldiscovery_LEDOff( LED4 );
}