]> sigrok.org Git - libsigrok.git/commit
asix-sigma: nits in the hardware configuration declaration
authorGerhard Sittig <redacted>
Wed, 13 May 2020 05:51:48 +0000 (07:51 +0200)
committerGerhard Sittig <redacted>
Sun, 31 May 2020 21:39:55 +0000 (23:39 +0200)
commit8bd4dc8799ff6839b457e691151f82b9a93c2644
tree15b742387f8aadf687be5d2418a3cb69e1369aa3
parent17ed72cc44f82c646c5e628670d1e5e02b897d81
asix-sigma: nits in the hardware configuration declaration

Stop assuming that C language variables whould have a specific memory
layout that applications could rely on. Use normal data types in higher
abstraction layers, drop non-portable bit fields. Use existing macros
for the creation of bit masks of a given width.
src/hardware/asix-sigma/protocol.h