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

Error code for string size not implemented in qrcode_initBytes(...) #15

Open
Mike4U opened this issue Nov 19, 2019 · 1 comment
Open

Comments

@Mike4U
Copy link

Mike4U commented Nov 19, 2019

The ability to return an error code is not implemented, see lines:
774 // @TODO: Return error if data is too big. 775 int8_t qrcode_initBytes(QRCode *qrcode, uint8_t *modules, uint8_t version, uint8_t ecc, uint8_t *data, uint16_t length) { ... 848 return 0; 849 }

@ricmoo
Copy link
Owner

ricmoo commented Nov 20, 2019

You are right. It looks like I didn't do that parts. :(

I will get to this soon. I've been quite busy but have a few local changes I need to push to the license as well.

You can also check out the library I originally based this one off of here, which now has a C implementation as well. :)

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

No branches or pull requests

2 participants