Movatterモバイル変換


[0]ホーム

URL:


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

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

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

ABOSTM
Copy link
Contributor

@ABOSTMABOSTM commentedJan 6, 2022
edited
Loading

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

@ABOSTMABOSTM added the enhancementNew feature or request labelJan 6, 2022
@ABOSTMABOSTM requested a review fromfpistmJanuary 6, 2022 16:45
@ABOSTMABOSTMforce-pushed theINTERRUPTS_REMOVE_C_PROTOTYPES branch 2 times, most recently from029e1d4 to1fd386bCompareJanuary 6, 2022 16:49
@ABOSTMABOSTMforce-pushed theINTERRUPTS_REMOVE_C_PROTOTYPES branch from1fd386b tofe5a441CompareJanuary 6, 2022 17:50
attachInterrupt() C prototypes was not usable from C source file(inheritance of former pure C implementation), and causes ambiguitywhen used with lambda function as callbackFixesstm32duino#1601Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
@ABOSTMABOSTMforce-pushed theINTERRUPTS_REMOVE_C_PROTOTYPES branch fromfe5a441 toc78cb1bCompareJanuary 7, 2022 07:33
@fpistmfpistm merged commitea9a82e intostm32duino:mainJan 7, 2022
@fpistmfpistm added this to the2.3.0 milestoneJan 7, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fpistmfpistmfpistm approved these changes

Assignees
No one assigned
Labels
enhancementNew feature or request
Projects
None yet
Milestone
2.3.0
Development

Successfully merging this pull request may close these issues.

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

[8]ページ先頭

©2009-2025 Movatter.jp