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

Move interrupts and noInterrupts out of namespace #122

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

Merged
DhruvaG2000 merged 1 commit into zephyrproject-rtos:next from Ayush1325:interrupts-fix
Sep 9, 2024

Conversation

@Ayush1325
Copy link
Member

@Ayush1325 Ayush1325 commented Sep 5, 2024

}
}

static unsigned int irq_key;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In C++, you should use anonymous namespace instead of static.

Copy link
Member Author

@Ayush1325 Ayush1325 Sep 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For functions as well? Because I get undefined reference errors if I move functions into the anonymous namespace

- These functions are exported from Arduino.h
Signed-off-by: Ayush Singh <ayush@beagleboard.org>
@DhruvaG2000 DhruvaG2000 merged commit f6e9483 into zephyrproject-rtos:next Sep 9, 2024
@Ayush1325 Ayush1325 deleted the interrupts-fix branch September 9, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@soburi soburi soburi approved these changes

@DhruvaG2000 DhruvaG2000 Awaiting requested review from DhruvaG2000

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

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