]> sigrok.org Git - libsigrok.git/commit
hantek-6xxx: Use power of 2 usb packet sizes
authorMarkus Siegert <redacted>
Mon, 11 Apr 2016 19:54:10 +0000 (21:54 +0200)
committerUwe Hermann <redacted>
Sat, 23 Apr 2016 15:37:45 +0000 (17:37 +0200)
commit050eb3b32d96a7c0a54dee9ae249514eff937d21
tree68ce9bddc9d43a6890617d684c48aaaaf09fd620
parent1079324f9e76c4775395e5baaf916f37d4785278
hantek-6xxx: Use power of 2 usb packet sizes

Using non power of 2 sizes causes the driver to not work on OS X.
Depending on the usb transfer mode the buffer sizes will map
perfectly to the underlying transport protocol.
src/hardware/hantek-6xxx/protocol.h