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

SDK 2.0 support #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

SDK 2.0 support #5

wants to merge 2 commits into from

Conversation

gregyedlik
Copy link

Removed calling clock_init() because that function is no longer exposed in Pico SDK 2.0. Also, commented measured current at different points in the execution

Removed calling clock_init() because that function is no longer exposed in Pico SDK 2.0. Also, commented measured current at different points in the execution
In the SDK 2.0, runtime_init_clocks() replaces the clocks_init() or SDK 1.5.1 and earlier. The rest works perfectly.
@gregyedlik
Copy link
Author

Just removing clocks_init() was not really fair game, because while it did get the code to run, it did not run as originally intended. Now, with the runtime_init_clocks(), it works as original!

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.

1 participant