From 1678dcc6f03f815e600e7ffdcccb2a90bfb8e132 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Thu, 20 Dec 2012 22:41:08 -0800 Subject: [PATCH] AP_HAL: GPIO INTERRUPT defines --- libraries/AP_HAL/GPIO.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL/GPIO.h b/libraries/AP_HAL/GPIO.h index 6d0200c63d..921f2329fc 100644 --- a/libraries/AP_HAL/GPIO.h +++ b/libraries/AP_HAL/GPIO.h @@ -8,8 +8,10 @@ #define GPIO_INPUT 0 #define GPIO_OUTPUT 1 -#define GPIO_FALLING 2 -#define GPIO_RISING 3 +#define GPIO_INTERRUPT_LOW 0 +#define GPIO_INTERRUPT_HIGH 1 +#define GPIO_INTERRUPT_FALLING 2 +#define GPIO_INTERRUPT_RISING 3 class AP_HAL::DigitalSource { public: