From 7e353dfc3516be0d3390c286b8003cdb097c7672 Mon Sep 17 00:00:00 2001 From: kiu Date: Sat, 21 May 2011 01:26:34 +0200 Subject: [PATCH] added comment to remove int handler from gpio.c --- basic/basic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/basic/basic.c b/basic/basic.c index 0ec319b..fd015f2 100644 --- a/basic/basic.c +++ b/basic/basic.c @@ -109,7 +109,8 @@ void rbInit() { gpioSetPullup (&RB_BUSINT_IO, gpioPullupMode_PullUp); gpioSetInterrupt(RB_BUSINT, gpioInterruptSense_Edge, gpioInterruptEdge_Single, gpioInterruptEvent_ActiveLow); gpioIntEnable(RB_BUSINT); - //add this to catch interrupt: + // 1. remove PIOINT3_IRQHandler from gpio/gpio.c + // 2. add this to catch interrupt: /* void PIOINT3_IRQHandler(void) { if (gpioIntStatus(RB_BUSINT)) {