save some bytes by disabling the busint
This commit is contained in:
parent
e9d6de9f2c
commit
592dbfffff
|
@ -116,10 +116,10 @@ void rbInit() {
|
||||||
|
|
||||||
|
|
||||||
// prepare BUSINT interrupt
|
// prepare BUSINT interrupt
|
||||||
gpioSetDir(RB_BUSINT, gpioDirection_Input);
|
//gpioSetDir(RB_BUSINT, gpioDirection_Input);
|
||||||
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);
|
||||||
|
|
||||||
//nrf_init();
|
//nrf_init();
|
||||||
backlightInit();
|
backlightInit();
|
||||||
|
|
Loading…
Reference in New Issue