]> sigrok.org Git - libsigrok.git/commit
asix-sigma: Read position only in CAPTURE state
authorMarek Vasut <redacted>
Sun, 20 Apr 2014 17:57:02 +0000 (19:57 +0200)
committerBert Vermeulen <redacted>
Wed, 30 Apr 2014 16:45:51 +0000 (09:45 -0700)
commit58d6f20748e6b33677da3b4a388ac3b8fcaa12f7
tree63fa4105db9e3ed2e1e5d33eaf8b3f43615ced8b
parent011f1091fa6d85aef3c36758bd090809f2fde0c9
asix-sigma: Read position only in CAPTURE state

Check the position of ForceStop and Trigger events only in case we
are in CAPTURE state, it's useless to do this unconditionally when
receive_data() is called.

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