]> sigrok.org Git - libsigrok.git/commit - src/hardware/asix-sigma/protocol.c
asix-sigma: Properly fetch timestamp in decode_chunk_ts()
authorMarek Vasut <redacted>
Sun, 20 Apr 2014 20:45:25 +0000 (22:45 +0200)
committerBert Vermeulen <redacted>
Wed, 30 Apr 2014 16:45:52 +0000 (09:45 -0700)
commit3628074d09723f20fa1b0a2026d6300ff69242c3
treedce27178449588bf6515fc512bf2e3a3f666587d
parentf41a4cae4966fb0237211d163a7afc581e29cbd7
asix-sigma: Properly fetch timestamp in decode_chunk_ts()

Instead of this ad-hoc readout voodoo, use proper function to read
the timestemp. One which will not break even on big-endian machines.

Signed-off-by: Marek Vasut <redacted>
hardware/asix-sigma/asix-sigma.c