/* Thread (LED_Thread2) used to toggle a LED when getting the appropriate signal.  */
static void LED_Thread2(void const *argument)
/* Thread (LED_Thread2) used to toggle a LED when getting the appropriate signal.  */
static void LED_Thread2(void const *argument)
{
  (void) argument;
  osEvent event;
  for(;;)
  {
    event = osSignalWait( BIT_1 | BIT_2, osWaitForever);
    if(event.value.signals == (BIT_1 | BIT_2))
    {
     BSP_LED_Toggle(LED4);
    }
  }
}