File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ static volatile voidFuncPtr intFunc[EXTERNAL_NUM_INTERRUPTS] = {
65
65
nothing ,
66
66
#endif
67
67
};
68
- // volatile static voidFuncPtr twiIntFunc;
69
68
70
69
void attachInterrupt (uint8_t interruptNum , void (* userFunc )(void ), int mode ) {
71
70
if (interruptNum < EXTERNAL_NUM_INTERRUPTS ) {
@@ -274,11 +273,6 @@ void detachInterrupt(uint8_t interruptNum) {
274
273
}
275
274
}
276
275
277
- /*
278
- void attachInterruptTwi(void (*userFunc)(void) ) {
279
- twiIntFunc = userFunc;
280
- }
281
- */
282
276
283
277
#define IMPLEMENT_ISR (vect , interrupt ) \
284
278
ISR(vect) { \
@@ -314,11 +308,3 @@ IMPLEMENT_ISR(INT2_vect, EXTERNAL_INT_2)
314
308
#endif
315
309
316
310
#endif
317
-
318
- /*
319
- ISR(TWI_vect) {
320
- if(twiIntFunc)
321
- twiIntFunc();
322
- }
323
- */
324
-
You can’t perform that action at this time.
0 commit comments