]> sigrok.org Git - libsigrok.git/commit
asix-sigma: Fixed RLE decoder
authorGerhard Sittig <redacted>
Sun, 23 Apr 2017 11:29:51 +0000 (13:29 +0200)
committerUwe Hermann <redacted>
Fri, 26 May 2017 20:47:45 +0000 (22:47 +0200)
commita44b3b3f166e60e1023371f0cf47bbd68182f0bf
tree58b0846e44423eb13c0f95852b08c38c39277d42
parent42be2adb5ab329a0b22d9df392d8eca84d5d9acf
asix-sigma: Fixed RLE decoder

When "tsdiff < EVENTS_PER_CLUSTER" we don't want "tsdiff - EVENTS_PER_CLUSTER"
(a negative number) to be treated as (int).

Submitted-By: jry <redacted>
[ gsi: massaged for mainline submission ]
src/hardware/asix-sigma/protocol.c