From 592dbfffff5bb399db25500b39c38a0a250d47ec Mon Sep 17 00:00:00 2001 From: schneider Date: Fri, 5 Aug 2011 23:34:52 +0200 Subject: [PATCH] save some bytes by disabling the busint --- firmware/basic/basic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/basic/basic.c b/firmware/basic/basic.c index f0deb7d..88a746a 100644 --- a/firmware/basic/basic.c +++ b/firmware/basic/basic.c @@ -116,10 +116,10 @@ void rbInit() { // prepare BUSINT interrupt - gpioSetDir(RB_BUSINT, gpioDirection_Input); - gpioSetPullup (&RB_BUSINT_IO, gpioPullupMode_PullUp); - gpioSetInterrupt(RB_BUSINT, gpioInterruptSense_Edge, gpioInterruptEdge_Single, gpioInterruptEvent_ActiveLow); - gpioIntEnable(RB_BUSINT); + //gpioSetDir(RB_BUSINT, gpioDirection_Input); + //gpioSetPullup (&RB_BUSINT_IO, gpioPullupMode_PullUp); + //gpioSetInterrupt(RB_BUSINT, gpioInterruptSense_Edge, gpioInterruptEdge_Single, gpioInterruptEvent_ActiveLow); + //gpioIntEnable(RB_BUSINT); //nrf_init(); backlightInit();