diff --git a/include/libsigrok/libsigrok.h b/include/libsigrok/libsigrok.h index dc041322..0abf412f 100644 --- a/include/libsigrok/libsigrok.h +++ b/include/libsigrok/libsigrok.h @@ -149,6 +149,7 @@ enum sr_datatype { SR_T_UINT64_RANGE, SR_T_DOUBLE_RANGE, SR_T_INT32, + SR_T_MQLIST, }; /** Value for sr_datafeed_packet.type. */ diff --git a/src/hwdriver.c b/src/hwdriver.c index 37bab711..7c904547 100644 --- a/src/hwdriver.c +++ b/src/hwdriver.c @@ -295,6 +295,8 @@ SR_PRIV const GVariantType *sr_variant_type_get(int datatype) return G_VARIANT_TYPE_TUPLE; case SR_T_KEYVALUE: return G_VARIANT_TYPE_DICTIONARY; + case SR_T_MQLIST: + return G_VARIANT_TYPE_ARRAY; default: return NULL; }