From dbe6407a22952477b858d973f1604a13bf2fc600 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Sun, 6 Feb 2011 14:09:49 -0500 Subject: [PATCH] change mc13224v button-sensor to use gpio structs --- platform/redbee-econotag/button-sensor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/redbee-econotag/button-sensor.c b/platform/redbee-econotag/button-sensor.c index 4702f890b..f89cd6544 100644 --- a/platform/redbee-econotag/button-sensor.c +++ b/platform/redbee-econotag/button-sensor.c @@ -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