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

Sending deviceID for outputs instead of pin number #1886

Closed
wants to merge 5 commits into from

Conversation

elral
Copy link
Contributor

@elral elral commented Dec 23, 2024

Instead of sending a pin number for outputs the deviceID is send like for all other devices. This is for harmaonization and possible future extensions.
PR MobiFlight/MobiFlight-FirmwareSource#346 must be merged at the same time.
Fixes #1885

Copy link

Build for this pull request:
MobiFlightConnector.zip

@neilenns
Copy link
Contributor

Is this not a breaking change correct? Everything continue to work properly if users don't upgrade their firmware and continue to use older firmware with newer desktop app?

@elral
Copy link
Contributor Author

elral commented Dec 23, 2024

Yes, correct.
Tested it in all combinations (OK, not so much).

@DocMoebiuz
Copy link
Collaborator

I think it would be cleaner to have a deprecated class which uses the old logic, and the new class which does it the new way. overriding just the set method.

Copy link

github-actions bot commented Jan 6, 2025

Build for this pull request:
MobiFlightConnector.zip

@elral
Copy link
Contributor Author

elral commented Jan 7, 2025

A new PR will be issued which includes the proposed changes.

The branch is already set up from @DocMoebiuz , see branch

The changes are already tested successful.

@elral elral closed this Jan 7, 2025
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.

Command for outputs should have deviceID and not pin number
3 participants