Skip to content

Fixed checksum CRC issue for values less than 1000#25

Open
ghost wants to merge 1 commit into
steplix:masterfrom
antonymon:fix/crc-checksum-less-than-1000
Open

Fixed checksum CRC issue for values less than 1000#25
ghost wants to merge 1 commit into
steplix:masterfrom
antonymon:fix/crc-checksum-less-than-1000

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented May 5, 2024

Description

This PR addresses the issue of CRC checksum errors occurring for QR codes with CRC less than 1000. Currently, the validation function compares '0028' (checksum) with '28' (hash), resulting in a 'Checksum validation failed.' error. This issue is tracked in Issue #3.

To fix this issue, I have updated the validation function to handle CRC checksums less than 1000 correctly, ensuring that the comparison between checksum and hash is done accurately.

Changes Made

  • Updated the validation function to handle CRC checksums less than 1000 correctly.
  • Added a reference to Issue #3 in the description.

Related Issues

  • Issue #3: QR codes with CRC less than 1000 returning error 'Checksum validation failed.'

@ghost ghost mentioned this pull request May 5, 2024
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.

1 participant