]> sigrok.org Git - libsigrok.git/commit - src/hardware/fx2lafw/api.c
fx2lafw: silence error message in query for channel group's device options
authorGerhard Sittig <redacted>
Tue, 28 Aug 2018 16:18:37 +0000 (18:18 +0200)
committerUwe Hermann <redacted>
Thu, 30 Aug 2018 20:11:25 +0000 (22:11 +0200)
commit4be5746d1dd2796aa10f0c45440005d28a554901
tree6006b85b8e76c8587e1324e442420d5c01cf6756
parent1372bdcdb56704c5aed01603c14b7b051af5f65e
fx2lafw: silence error message in query for channel group's device options

The fx2lafw(4) driver supports mere logic analyzers as well as mixed
signal devices, but does not support channel group specific device
options. Avoid an error message when channel group device options get
queried, the condition is perfectly legal and non-fatal.

How to reproduce:
  $ pulseview -d fx2lafw
  $ sigrok-cli -d fx2lafw -g Logic --show

This fixes bug #1267.
src/hardware/fx2lafw/api.c