diff options
author | Paulo Costa <me@paulo.costa.nom.br> | 2019-01-04 15:41:14 -0200 |
---|---|---|
committer | Paulo Costa <me@paulo.costa.nom.br> | 2019-01-04 15:41:14 -0200 |
commit | c27aef0ed6638a635d92fcb97412dbd3e65e8c31 (patch) | |
tree | 55532b7502c40e5b89ca41a9ae6cdd899a3c8461 /cores | |
parent | 6ba4fd363f8dcd704b73d6b4dd897fce6e7bfa72 (diff) |
Remove commented out code for I2C interrupts on WInterrupts.c
These are currently implemented by the Wire library, on twi.c
Diffstat (limited to 'cores')
-rw-r--r-- | cores/arduino/WInterrupts.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/cores/arduino/WInterrupts.c b/cores/arduino/WInterrupts.c index cef1106..ac72dda 100644 --- a/cores/arduino/WInterrupts.c +++ b/cores/arduino/WInterrupts.c @@ -65,7 +65,6 @@ static volatile voidFuncPtr intFunc[EXTERNAL_NUM_INTERRUPTS] = { nothing, #endif }; -// volatile static voidFuncPtr twiIntFunc; void attachInterrupt(uint8_t interruptNum, void (*userFunc)(void), int mode) { if(interruptNum < EXTERNAL_NUM_INTERRUPTS) { @@ -274,11 +273,6 @@ void detachInterrupt(uint8_t interruptNum) { } } -/* -void attachInterruptTwi(void (*userFunc)(void) ) { - twiIntFunc = userFunc; -} -*/ #define IMPLEMENT_ISR(vect, interrupt) \ ISR(vect) { \ @@ -314,11 +308,3 @@ IMPLEMENT_ISR(INT2_vect, EXTERNAL_INT_2) #endif #endif - -/* -ISR(TWI_vect) { - if(twiIntFunc) - twiIntFunc(); -} -*/ - |