Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interrupts: remove C prototype and keep only C++ prototypes #1617

Merged
merged 1 commit into from
Jan 7, 2022

Conversation

ABOSTM
Copy link
Contributor

@ABOSTM ABOSTM commented Jan 6, 2022

Summary
Interrupts: remove C prototype and keep only C++ prototypes

attachInterrupt() C prototypes was not usable from C source file
(inheritance of former pure C implementation), and causes ambiguity
when used with lambda function as callback
Fixes #1601

cores/arduino/wiring.h Outdated Show resolved Hide resolved
attachInterrupt() C prototypes was not usable from C source file
(inheritance of former pure C implementation), and causes ambiguity
when used with lambda function as callback
Fixes stm32duino#1601

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
@ABOSTM ABOSTM force-pushed the INTERRUPTS_REMOVE_C_PROTOTYPES branch from fe5a441 to c78cb1b Compare January 7, 2022 07:33
@fpistm fpistm merged commit ea9a82e into stm32duino:main Jan 7, 2022
@fpistm fpistm added this to the 2.3.0 milestone Jan 7, 2022
@fpistm fpistm added this to In progress in STM32 core based on ST HAL via automation Jan 7, 2022
@fpistm fpistm moved this from In progress to Done in STM32 core based on ST HAL Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

Call of overloaded attachInterrupt is ambiguous with a lambda callback
2 participants