mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-12 21:25:36 +00:00
change mc13224v button-sensor to use gpio structs
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user