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

Add from_installed_program with correct shift direction #715

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

jannic
Copy link
Member

@jannic jannic commented Nov 6, 2023

The existing function from_program uses the "wrong" shift direction, the default is different from what the RP2040 does. This is confusing and can lead to difficult to debug errors. (This is how this difference was found.)

To avoid a subtle breaking change by just fixing the default, introduce a new function from_installed_program with the correct default value, and deprecate the old one.

The existing function from_program uses the "wrong" shift direction,
the default is different from what the RP2040 does. This is confusing
and can lead to difficult to debug errors. (This is how this difference
was found.)

To avoid a subtle breaking change by just fixing the default, introduce
a new function from_installed_program with the correct default value,
and deprecate the old one.
@jannic jannic force-pushed the change-default-shift-direction branch from 6fdeda6 to 50583b2 Compare November 23, 2023 07:43
@jannic jannic changed the title Rename from_program to from_installed_program Add from_installed_program with correct shift direction Nov 23, 2023
@jannic jannic marked this pull request as ready for review November 23, 2023 07:45
@jannic jannic merged commit 78418de into rp-rs:main Dec 21, 2023
8 checks passed
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.

None yet

2 participants