X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhwdriver.c;h=7b497e078608ce9e2ee1e9d422152dadd6fd7779;hb=c8260fa8ec48fcfcea8c009edec313a51e54171d;hp=2850946ffaf4e8392737f9222b9fa2b6611715a3;hpb=522381a343f3708e3bb65fd39e35ff0484b64065;p=libsigrok.git diff --git a/src/hwdriver.c b/src/hwdriver.c index 2850946f..7b497e07 100644 --- a/src/hwdriver.c +++ b/src/hwdriver.c @@ -74,6 +74,8 @@ static struct sr_key_info sr_key_info_config[] = { "Modbus slave address", NULL}, {SR_CONF_FORCE_DETECT, SR_T_STRING, "force_detect", "Forced detection", NULL}, + {SR_CONF_PROBE_NAMES, SR_T_STRING, "probe_names", + "Names of device's probes", NULL}, /* Device (or channel group) configuration */ {SR_CONF_SAMPLERATE, SR_T_UINT64, "samplerate", @@ -329,6 +331,8 @@ SR_PRIV const GVariantType *sr_variant_type_get(int datatype) switch (datatype) { case SR_T_INT32: return G_VARIANT_TYPE_INT32; + case SR_T_UINT32: + return G_VARIANT_TYPE_UINT32; case SR_T_UINT64: return G_VARIANT_TYPE_UINT64; case SR_T_STRING: