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

建议给EXTERN_C宏定义添加ifndef限定条件便于移植到其他平台 #46

Open
Cherish-Gww opened this issue Oct 11, 2024 · 1 comment

Comments

@Cherish-Gww
Copy link

https://github.com/hpmicro/hpm_sdk/blob/276af9395fde9ca963ac5bf7ad1e516163168bfa/soc/HPM6E00/HPM6E80/hpm_interrupt.h#L1030C1-L1031C1

为方便移植到其他os,此处建议修改为:

#ifndef EXTERN_C
#define EXTERN_C
#endif
@jhqian
Copy link
Contributor

jhqian commented Nov 4, 2024

实际的场景能举个例子么?

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

No branches or pull requests

2 participants