Follow-up of #13045: Removed redundant \xfe\xfd from ESTABLISHED constant#14705
Merged
seanbudd merged 1 commit intoMar 7, 2023
Merged
Conversation
Member
|
Are there are no changes for the user, what motivates this change? |
Contributor
Author
In principle there might be minimal effect on how quickly display shows braille because it needs not to handle the other confirmation packet which it seems to skip because it waits after confirmation packet for different data like something to show in braille. I noticed this when I read display firmware code, so why to send such data what is not used supposing that first packet reaches display. |
seanbudd
approved these changes
Mar 7, 2023
Contributor
Author
|
Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link to issue number:
Follow-up of #13045
Summary of the issue:
Driver sent to Albatross display byte string
b"\xfe\xfd\xfe\xfd"to tell device that there is active connection and it should not send init packets anymore. Byte string contained two establishment packets, and one should be enough. It should not cause harm to send two packets because display ignores latter one but it is redundant anyway.In stead of
b"\xfe\xfd\xfe\xfd"driver sends nowb"\xfe\xfd"to display.Description of user facing changes
None
Description of development approach
None
Testing strategy:
Starts/restarts, switching display off/on during connection, and using device's internal menu during connection.
Known issues with pull request:
None
Change log entries:
None
Code Review Checklist: