]> sigrok.org Git - libsigrok.git/commit
asix-sigma: Pull out the logic-mode switching
authorMarek Vasut <redacted>
Sun, 20 Apr 2014 17:36:40 +0000 (19:36 +0200)
committerBert Vermeulen <redacted>
Wed, 30 Apr 2014 16:45:51 +0000 (09:45 -0700)
commit64fe661b87c119079516b9ba7b395bdd8af14994
tree69f34ffbc806c1b461032907f0307bbdbd9b6cfe
parent29b66a2eb0ffac181c2d7b0c0d7868e5344fc272
asix-sigma: Pull out the logic-mode switching

Pull out the code which switches Sigma from the FPGA programming mode
into Logic-Analyzer mode into separate function. Also, given the reply
is only ever 3-byte long, do not allocate 32 byte big buffer, but only
a 3-byte long one.

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