]> sigrok.org Git - libsigrok.git/commit
asix-sigma: Use monotonic time not wallclock time
authorGerhard Sittig <redacted>
Fri, 26 May 2017 17:36:01 +0000 (19:36 +0200)
committerUwe Hermann <redacted>
Fri, 26 May 2017 20:48:39 +0000 (22:48 +0200)
commit2f425a56edbe528ed4566ea6791009dad61ef56d
tree94a1a0513289bda61997e1126b807d88d68459b1
parent74d453abfd29f8ea5426c4400f29d30cc18e97dd
asix-sigma: Use monotonic time not wallclock time

Switch from gettimeofday() to g_get_monotonic_time() calls.

This commit is based on work done by jry@ (but with reduced diff size).
src/hardware/asix-sigma/api.c
src/hardware/asix-sigma/protocol.c
src/hardware/asix-sigma/protocol.h