Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5755dde

Browse files
Merge pull request #59 from paulo-raca/wiring_private_i2c
Remove commented out code for I2C interrupts on WInterrupts.c
2 parents 6ba4fd3 + c27aef0 commit 5755dde

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

‎cores/arduino/WInterrupts.c‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ static volatile voidFuncPtr intFunc[EXTERNAL_NUM_INTERRUPTS] = {
6565
nothing,
6666
#endif
6767
};
68-
// volatile static voidFuncPtr twiIntFunc;
6968

7069
void attachInterrupt(uint8_t interruptNum, void (*userFunc)(void), int mode) {
7170
if(interruptNum < EXTERNAL_NUM_INTERRUPTS) {
@@ -274,11 +273,6 @@ void detachInterrupt(uint8_t interruptNum) {
274273
}
275274
}
276275

277-
/*
278-
void attachInterruptTwi(void (*userFunc)(void) ) {
279-
twiIntFunc = userFunc;
280-
}
281-
*/
282276

283277
#define IMPLEMENT_ISR(vect, interrupt) \
284278
ISR(vect) { \
@@ -314,11 +308,3 @@ IMPLEMENT_ISR(INT2_vect, EXTERNAL_INT_2)
314308
#endif
315309

316310
#endif
317-
318-
/*
319-
ISR(TWI_vect) {
320-
if(twiIntFunc)
321-
twiIntFunc();
322-
}
323-
*/
324-

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /