Merge branch 'master' of github.com:p42/project42

This commit is contained in:
Stefan `Sec` Zehl 2011-05-21 01:30:17 +02:00
commit eadc01177e
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)) {