Skip to content

flexible buffer length checking#4

Open
mfrederickson wants to merge 9 commits intothirtysixthspan:masterfrom
mfrederickson:master
Open

flexible buffer length checking#4
mfrederickson wants to merge 9 commits intothirtysixthspan:masterfrom
mfrederickson:master

Conversation

@mfrederickson
Copy link
Copy Markdown
Contributor

This is a work around for #3. You can have the buffer length check turned off by passing in required_buffer_length: 0 to the read method like this (otherwise it defaults to 337):

mcr.read timeout: 10000, required_buffer_length: 0

This commit also includes changing from an explicit interrupt_transfer call to using the interrupt_transfer call on the device handle so that we don't have to worry with buffer management.

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