libsigrok/hardware
Uwe Hermann 1f98295dfa sysclk-lwla: Fix probe name issue.
The g_ascii_formatd() function expects the "format" argument to start
with a '%' character, e.g. it should be "%f" or such (this is not
clearly documented in the glib API docs, but visible from the source code).

The usage of "CH%f" for example will trigger an assertion and thus make the
LWLA device unusable in practice (e.g. in PulseView on Windows no probenames
would be shown, and sampling wouldn't work).

Example:
  GLib-CRITICAL **: g_ascii_formatd: assertion 'format[0] == '%'' failed

(not exposed in all glib versions or builds of glib on all distros
apparently, some may need G_MESSAGES_DEBUG=all or other measures)

From the glib g_ascii_formatd() code:
  g_return_val_if_fail (format[0] == '%', NULL);

We now use g_snprintf() instead for simplicity. This has been tested to
fix this specific issue (i.e. the probenames now do show up in PulseView).

This closes bug #270.
2014-01-14 19:52:26 +01:00
..
agilent-dmm Centralise duplicated logging helper defines. 2013-12-27 12:54:05 +01:00
alsa Centralise duplicated logging helper defines. 2013-12-27 12:54:05 +01:00
appa-55ii appa-55ii: Don't use _t suffix for a typedef. 2013-12-27 17:27:52 +01:00
asix-sigma asix-sigma: fix incorrect pointer cast (non-aligned memory and endiannes issue) 2013-12-27 17:36:08 +01:00
atten-pps3xxx atten-pps3xxx: Fix options reporting. 2014-01-13 02:10:11 +01:00
brymen-dmm Centralise duplicated logging helper defines. 2013-12-27 12:54:05 +01:00
cem-dt-885x cem-dt-885x: Don't use char as signed type. 2014-01-14 01:29:30 +01:00
center-3xx Centralise duplicated logging helper defines. 2013-12-27 12:54:05 +01:00
chronovu-la8 chronovu-la8: Publish SR_CONF_MAX_UNCOMPRESSED_SAMPLES. 2014-01-09 16:28:29 +01:00
colead-slm Centralise duplicated logging helper defines. 2013-12-27 12:54:05 +01:00
common scpi: properly check for HAVE_RPC (which is always defined) 2014-01-14 00:18:31 +01:00
demo demo: Properly handle logic vs. analog when setting the pattern. 2014-01-12 23:31:23 +01:00
fluke-dmm Centralise duplicated logging helper defines. 2013-12-27 12:54:05 +01:00
fx2lafw fx2lafw: Fix incorrect unitsize when a trigger fires. 2013-12-29 14:18:51 +01:00
gmc-mh-1x-2x gmc_mh_1x_2x: Fixed sign and AC/DC for current measurements with Metrahit <= 16. 2014-01-02 19:38:52 +01:00
hameg-hmo scpi: factorize dev_inst_new calls out of individual drivers 2014-01-11 22:36:46 +01:00
hantek-dso Centralise duplicated logging helper defines. 2013-12-27 12:54:05 +01:00
ikalogic-scanalogic2 ikalogic-scanalogic2: List all keys in device options. 2014-01-09 16:27:56 +01:00
ikalogic-scanaplus log prefixes: Cosmetics, consistency fixes, typo fixes. 2013-12-27 13:17:20 +01:00
kecheng-kc-330b Centralise duplicated logging helper defines. 2013-12-27 12:54:05 +01:00
lascar-el-usb Centralise duplicated logging helper defines. 2013-12-27 12:54:05 +01:00
link-mso19 log prefixes: Cosmetics, consistency fixes, typo fixes. 2013-12-27 13:17:20 +01:00
mic-985xx Centralise duplicated logging helper defines. 2013-12-27 12:54:05 +01:00
norma-dmm Centralise duplicated logging helper defines. 2013-12-27 12:54:05 +01:00
openbench-logic-sniffer Add support for SR_CONF_MAX_UNCOMPRESSED_SAMPLES. 2014-01-09 13:08:32 +01:00
rigol-ds rigol-ds: Use correct digital channel numbers when fetching config. 2014-01-14 18:28:19 +00:00
saleae-logic16 Centralise duplicated logging helper defines. 2013-12-27 12:54:05 +01:00
serial-dmm serial-dmm: Drop unused DMM_COUNT. 2014-01-06 20:54:00 +01:00
sysclk-lwla sysclk-lwla: Fix probe name issue. 2014-01-14 19:52:26 +01:00
teleinfo teleinfo: Fix a compiler warning (clang). 2013-12-31 19:22:16 +01:00
tondaj-sl-814 Centralise duplicated logging helper defines. 2013-12-27 12:54:05 +01:00
uni-t-dmm Add support for the Tenma 72-7750 (UNI-T UT60G rebadge). 2014-01-06 20:30:35 +01:00
uni-t-ut32x Centralise duplicated logging helper defines. 2013-12-27 12:54:05 +01:00
victor-dmm victor-dmm: Fix MIN/MAX always being reported. 2013-12-29 12:33:10 +01:00
zeroplus-logic-cube zeroplus-logic-cube: List all keys in device options. 2014-01-09 16:26:58 +01:00
Makefile.am sysclk-lwla: Initial driver skeleton. 2014-01-14 19:33:31 +01:00