Пример #1
0
/*---------------------------------------------------------------------------*/
static unsigned int
value(int type)
{
  return BUTTON_READ() || !timer_expired(&debouncetimer);
}
Пример #2
0
static int
value_b2(int type)
{
  type;
  return BUTTON_READ(2) || !timer_expired(&debouncetimer);
}