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

Addons with migrated GPIO do not correctly update Pin Mapping #1220

Open
mikepparks opened this issue Nov 24, 2024 · 0 comments
Open

Addons with migrated GPIO do not correctly update Pin Mapping #1220

mikepparks opened this issue Nov 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mikepparks
Copy link
Contributor

It seems that with the new Pin Mapping functionality to allow multiple actions per pin, GPIO migration does not properly occur from previous versions.

To repro, assume an upgrade to #1216 and attempt the following.

Expectation:
A GpioAction::ANALOG_DIRECTION_MOD_LOW definition should be assigned in Pin Mapping to the Pin previously defined in Tilt 1.

Issue:
The Pin in Pin Mapping remains GpioAction::ASSIGNED_TO_ADDON and cannot be unassigned. The previous value in the addon itself is not updated in the proto data.

@mikepparks mikepparks added the bug Something isn't working label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant