change mc13224v button-sensor to use gpio structs

This commit is contained in:
Mariano Alvira 2011-02-06 14:09:49 -05:00
parent 2ff236c4be
commit dbe6407a22

View file

@ -56,7 +56,7 @@ void kbi4_isr(void) {
static int
value(int type)
{
return bit_is_set(gpio_data_get((0x1ULL << 26)), 26) || !timer_expired(&debouncetimer);
return GPIO->DATA.GPIO_26 || !timer_expired(&debouncetimer);
}
static int