#include "test_env.h"


int ret_hal_led_seton = 0;
int hal_led_seton(const int in_index)
{
  if (in_index == 0) return ret_hal_led_seton;
  return ret_hal_led_seton;
}

int ret_hal_led_setoff = 0;
int hal_led_setoff(const int in_index)
{
  if (in_index == 0) return ret_hal_led_setoff;
  return ret_hal_led_setoff;
}

hal_button_state_e ret_out_state = HAL_BUTTON_STATE_ON;
void hal_button_read(const int in_index, hal_button_state_e *const out_state)
{
  switch (in_index)
  {

    default:
      break;
  }

  *out_state = ret_out_state;
  return;
}

void asw_next(void)
{
}


void tp_01(void)
{
  ret_out_state = HAL_BUTTON_STATE_OFF;
  asw_main();
}

void tp_02(void)
{
  ret_out_state = HAL_BUTTON_STATE_ON;
  asw_main();
}

void tp_03(void)
{
  ret_out_state = (hal_button_state_e)555;
  asw_main();
}


void tp_main(void)
{
  tp_01();
  tp_02();
  tp_03();
}

/* eof */