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

Need API to get clock rate (don't use #define) #158

Closed
terrillmoore opened this issue Apr 15, 2019 · 0 comments
Closed

Need API to get clock rate (don't use #define) #158

terrillmoore opened this issue Apr 15, 2019 · 0 comments
Assignees

Comments

@terrillmoore
Copy link
Member

We can't use #if or #defined symbols in portable code.

The clockrate display on STM32 is an example. It needs to become a gCatena method (gCatena.getSystemClockRate() for example). Don't forget to change the sample applications to use this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant