Skip to content

fix 8k read limit#22

Open
philbyjohn wants to merge 1 commit intoamaork:masterfrom
philbyjohn:master
Open

fix 8k read limit#22
philbyjohn wants to merge 1 commit intoamaork:masterfrom
philbyjohn:master

Conversation

@philbyjohn
Copy link
Copy Markdown

i2c_read() has a limitation that can only read 8192 bytes of chuck at a time. If user wants to read more, the function fails. Fix this by reading the chunks in a loop if data is larger than 8192 bytes.

i2c_read() has a limitation that can only read 8192 bytes
of chuck at a time. If user wants to read more, the function
fails. Fix this by reading the chunks in a loop if data is larger
than 8192 bytes.

Signed-off-by: Philby John <philbyjohn@gmail.com>
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.

2 participants