added comment to remove int handler from gpio.c

This commit is contained in:
kiu 2011-05-21 01:26:34 +02:00
parent 76e3cf789f
commit 7e353dfc35
1 changed files with 2 additions and 1 deletions

View File

@ -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)) {