]> sigrok.org Git - libsigrok.git/commitdiff
kingst-la2016: Eliminate non-portable packed structs for USB transfer layout
authorHelge Kruse <redacted>
Sat, 30 Jan 2021 14:46:46 +0000 (15:46 +0100)
committerGerhard Sittig <redacted>
Tue, 16 Mar 2021 20:27:24 +0000 (21:27 +0100)
Eliminate packed structs in the construction and in the reception of
USB transfers, since these are rather non-portable. Use common support
for endianess aware access to byte streams instead. This unbreaks the
driver for MinGW builds, and increases portability and maintainability
on all other sigrok supported platforms.

[ gsi: adjust more locations, improve robustness, fixup style, reword message ]


No differences found