Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
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
arduino-esp32
Commits
5be3078b
Commit
5be3078b
authored
Sep 17, 2018
by
hreintke
Committed by
Me No Dev
Sep 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InterruptArg should take voidFuncPtrArg as argument (#1776)
parent
7206b2f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cores/esp32/esp32-hal-gpio.c
cores/esp32/esp32-hal-gpio.c
+1
-1
cores/esp32/esp32-hal-gpio.h
cores/esp32/esp32-hal-gpio.h
+1
-1
No files found.
cores/esp32/esp32-hal-gpio.c
View file @
5be3078b
...
...
@@ -277,6 +277,6 @@ extern void pinMode(uint8_t pin, uint8_t mode) __attribute__ ((weak, alias("__pi
extern
void
digitalWrite
(
uint8_t
pin
,
uint8_t
val
)
__attribute__
((
weak
,
alias
(
"__digitalWrite"
)));
extern
int
digitalRead
(
uint8_t
pin
)
__attribute__
((
weak
,
alias
(
"__digitalRead"
)));
extern
void
attachInterrupt
(
uint8_t
pin
,
voidFuncPtr
handler
,
int
mode
)
__attribute__
((
weak
,
alias
(
"__attachInterrupt"
)));
extern
void
attachInterruptArg
(
uint8_t
pin
,
voidFuncPtr
handler
,
void
*
arg
,
int
mode
)
__attribute__
((
weak
,
alias
(
"__attachInterruptArg"
)));
extern
void
attachInterruptArg
(
uint8_t
pin
,
voidFuncPtr
Arg
handler
,
void
*
arg
,
int
mode
)
__attribute__
((
weak
,
alias
(
"__attachInterruptArg"
)));
extern
void
detachInterrupt
(
uint8_t
pin
)
__attribute__
((
weak
,
alias
(
"__detachInterrupt"
)));
cores/esp32/esp32-hal-gpio.h
View file @
5be3078b
...
...
@@ -79,7 +79,7 @@ void digitalWrite(uint8_t pin, uint8_t val);
int
digitalRead
(
uint8_t
pin
);
void
attachInterrupt
(
uint8_t
pin
,
void
(
*
)(
void
),
int
mode
);
void
attachInterruptArg
(
uint8_t
pin
,
void
(
*
)(
void
),
void
*
arg
,
int
mode
);
void
attachInterruptArg
(
uint8_t
pin
,
void
(
*
)(
void
*
),
void
*
arg
,
int
mode
);
void
detachInterrupt
(
uint8_t
pin
);
#ifdef __cplusplus
...
...
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