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

Follow phydat access deprecations #87

Merged
merged 2 commits into from
Apr 3, 2024
Merged

Follow phydat access deprecations #87

merged 2 commits into from
Apr 3, 2024

Conversation

chrysn
Copy link
Member

@chrysn chrysn commented Apr 3, 2024

This makes functions that previously returned Option<&'static str> return None unconditionally due to the changes in RIOT-OS/RIOT#20529.

Closes #86, whose proposed change I took as a starting point.

@Teufelchen1, @maribu, does that look good to you?

(If so, next steps are we merge this here, I do an external-version-bump in RIOT, and then 20529 will succede)

chrysn and others added 2 commits April 3, 2024 21:11
…tions

An underlying API change[20529] made the functions impossible to
satisfy; as they are already fallible (and may have returned None if the
list were reduced), returning None is a compatible-by-the-letter way out.

[20529]: RIOT-OS/RIOT#20529

Co-Authored-By: Teufelchen1 <[email protected]>
Closes: #86
Copy link
Member

@maribu maribu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx ❤️

@chrysn chrysn merged commit de348dc into main Apr 3, 2024
59 checks passed
@chrysn chrysn deleted the follow-hydat-deprecation branch April 3, 2024 21:15
chrysn added a commit to chrysn-pull-requests/RIOT that referenced this pull request Apr 3, 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

Successfully merging this pull request may close these issues.

API change in saul/phydat
2 participants