Skip to content

Conversation

Ayush1325
Copy link
Member

}
}

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

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 <[email protected]>
@soburi soburi requested a review from DhruvaG2000 September 6, 2024 15:49
@DhruvaG2000 DhruvaG2000 merged commit f6e9483 into zephyrproject-rtos:next Sep 9, 2024
3 checks passed
@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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants