8000 Move analogReadTemp() to C++-only by earlephilhower · Pull Request #1097 · earlephilhower/arduino-pico · GitHub
[go: up one dir, main page]

Skip to content

Move analogReadTemp() to C++-only #1097

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
merged 3 commits into from
Jan 3, 2023
Merged

Move analogReadTemp() to C++-only #1097

merged 3 commits into from
Jan 3, 2023

Conversation

earlephilhower
Copy link
Owner

Now that we have a default parameter, need to only allow it in C++ since default values are not part of C spec. Should not affect any users since only legacy code is in C.

Now that we have a default parameter, need to only allow it in C++ since
default values are not part of C spec.  Should not affect any users since
only legacy code is in C.
@earlephilhower earlephilhower merged commit 94abf9d into master Jan 3, 2023
@earlephilhower earlephilhower deleted the artc branch January 3, 2023 21:30
schkovich pushed a commit to schkovich/arduino-pico that referenced this pull request May 24, 2025
Add a -nostdlib specifically for the check to ensure that it builds
successfully.

The -nostdlib isn't needed normally, because linking against the pico
SDK will add in definitions for the previously-missing function
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
0