]> sigrok.org Git - libsigrok.git/commit
hantek-6xxx: Only list DC coupling once.
authorUwe Hermann <redacted>
Tue, 16 May 2017 23:07:56 +0000 (01:07 +0200)
committerUwe Hermann <redacted>
Tue, 16 May 2017 23:46:50 +0000 (01:46 +0200)
commit64f628bf8a7b94073de14e34d70a2b23c955f1b0
tree040687edce9764b8f07bd4737e936170b79ca48e
parent01dd7a4cc769d3e683cb29c5cf791e9c61034f31
hantek-6xxx: Only list DC coupling once.

Avoid incorrect indexing and the follow-up segfault.

This fixes bug #822.
src/hardware/hantek-6xxx/api.c