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

Improve checksum per https://github.com/gnea/grbl-Mega/issues/158 #159

Open
wants to merge 1 commit into
base: edge
Choose a base branch
from

Conversation

drf5n
Copy link

@drf5n drf5n commented Apr 11, 2022

Per #158 The logical OR squashes the previous checksum down to 1 bit of information, resulting in the final checksum being either the last character written, or one plus the last character written.

This change switches to the bitwise-or to convert the squashing into a 1-bit roll to the left.

 Per gnea#158  The logical OR squashes the previous checksum down to 1 bit of information, resulting in the final checksum being either the last character written, or one plus the last character written.

This change switches to the bitwise-or to convert the squashing into a 1-bit roll to the left.
@drf5n
Copy link
Author

drf5n commented Apr 11, 2022

@fra589
Copy link

fra589 commented Apr 11, 2022

Very old subject... Already discussed in 2017 here :
grbl#1249 (comment)
with the choice not to correct it
@++;
Gauthier.

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