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

Fixed some errors in example code of readme file. #13

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

Fixed some errors in example code of readme file. #13

wants to merge 1 commit into from

Conversation

AlbertoCasasOrtiz
Copy link

Hello,

I'm using your QR code generator and I notice there were some errors in the example code of the readme. The list below includes the changes I have made.

  • The line next line didn't had the version number:
    uint8_t qrcodeBytes[qrcode_getBufferSize(3)];
  • The tipes of the variables in the for loops appeared as uint8 instead of uint8_t, producing a compilation error.
  • There was a missed parenthesis in the if inside the for loops, producing a compilation error.
    if (qrcode_getModule(&qrcode, x, y))

I hope this corrections helps people to use this great code you have created.

Best regards.
Alberto Casas Ortiz.

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