/* This function handles External line 0 interrupt request.  */
void EXTI0_IRQHandler(void)
/* This function handles External line 0 interrupt request.  */
void EXTI0_IRQHandler(void)
{
  if (HAL_GPIO_ReadPin(UP_JOY_GPIO_PORT, UP_JOY_PIN) == GPIO_PIN_SET)
  {
    HAL_GPIO_EXTI_IRQHandler(UP_JOY_PIN);
  }
  else
  {
    HAL_GPIO_EXTI_IRQHandler(SEL_JOY_PIN);
  }
}