]> sigrok.org Git - libsigrok.git/commit - src/hardware/kingst-la2016/protocol.c
kingst-la2016: developer comment on capture data layout for 32ch models
authorGerhard Sittig <redacted>
Mon, 31 Jan 2022 20:49:42 +0000 (21:49 +0100)
committerGerhard Sittig <redacted>
Sun, 6 Feb 2022 17:53:54 +0000 (18:53 +0100)
commit9684b6507fd2ca750b4cb8796e4f5f34019e411b
tree410153b76c8aab31ee13292076454adf9d00ce1a
parent66a24ab57caebf6ba3abc57ee085a6fd0df37616
kingst-la2016: developer comment on capture data layout for 32ch models

The implementation assumes that capture data comes in 16byte chunks
which carry 5 packets of one 16bit sample and an 8bit repeat count each.
Which may not apply to models with 32 channels, the current compile time
literal may need to become a runtime depending value. Add a comment.
src/hardware/kingst-la2016/protocol.c