diff options
author | Alexander Entinger <consulting@lxrobotics.com> | 2019-09-16 10:21:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-16 10:21:51 +0200 |
commit | 366b1b814702ec0da8951f9e13af882352442940 (patch) | |
tree | 597ffcfd6407f4b7c55639ee54f5b517c25c9e79 /cores/arduino/WInterrupts.c | |
parent | 0c5aa78ff40d208a1341b3dae84166e837901070 (diff) | |
parent | 742abcd9660d4b754fede51f098113fca918cb54 (diff) |
Merge branch 'master' into patch-1
Diffstat (limited to 'cores/arduino/WInterrupts.c')
-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(); -} -*/ - |