Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ArduinoCore-avr
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ArduinoCore-avr
Commits
5755ddea
Unverified
Commit
5755ddea
authored
Jan 07, 2019
by
Martino Facchin
Committed by
GitHub
Jan 07, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #59 from paulo-raca/wiring_private_i2c
Remove commented out code for I2C interrupts on WInterrupts.c
parents
6ba4fd36
c27aef0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
cores/arduino/WInterrupts.c
cores/arduino/WInterrupts.c
+0
-14
No files found.
cores/arduino/WInterrupts.c
View file @
5755ddea
...
...
@@ -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();
}
*/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment