added comment to remove int handler from gpio.c
This commit is contained in:
parent
76e3cf789f
commit
7e353dfc35
|
@ -109,7 +109,8 @@ void rbInit() {
|
||||||
gpioSetPullup (&RB_BUSINT_IO, gpioPullupMode_PullUp);
|
gpioSetPullup (&RB_BUSINT_IO, gpioPullupMode_PullUp);
|
||||||
gpioSetInterrupt(RB_BUSINT, gpioInterruptSense_Edge, gpioInterruptEdge_Single, gpioInterruptEvent_ActiveLow);
|
gpioSetInterrupt(RB_BUSINT, gpioInterruptSense_Edge, gpioInterruptEdge_Single, gpioInterruptEvent_ActiveLow);
|
||||||
gpioIntEnable(RB_BUSINT);
|
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) {
|
void PIOINT3_IRQHandler(void) {
|
||||||
if (gpioIntStatus(RB_BUSINT)) {
|
if (gpioIntStatus(RB_BUSINT)) {
|
||||||
|
|
Loading…
Reference in New Issue