]> sigrok.org Git - libsigrok.git/commitdiff
ols: don't use deprecated hwcap_get_all() driver API call
authorBert Vermeulen <redacted>
Sun, 15 Jul 2012 02:32:53 +0000 (04:32 +0200)
committerBert Vermeulen <redacted>
Fri, 3 Aug 2012 08:27:39 +0000 (10:27 +0200)
hardware/openbench-logic-sniffer/ols.c

index e486d519048ec6e8518dc02ab79de9f5bc7a9a18..d2cda236c068003206bc1912abb223a7ce557f0b 100644 (file)
@@ -593,6 +593,9 @@ static int hw_info_get(int info_id, const void **data,
        case SR_DI_INST:
                *data = sdi;
                break;
+       case SR_DI_HWCAPS:
+               *data = hwcaps;
+               break;
        case SR_DI_NUM_PROBES:
                *data = GINT_TO_POINTER(1);
                break;