]> sigrok.org Git - sigrok-cli.git/blobdiff - decode.c
decode: start collecting internal state (samplerate)
[sigrok-cli.git] / decode.c
index 0bf1d250bacb2063f5d28738a72083fd5db13b5c..d27703929fe7d34a7e972627b87a5e0fd7d723e9 100644 (file)
--- a/decode.c
+++ b/decode.c
@@ -29,6 +29,8 @@ static GHashTable *pd_meta_visible = NULL;
 static GHashTable *pd_binary_visible = NULL;
 static GHashTable *pd_channel_maps = NULL;
 
+uint64_t pd_samplerate = 0;
+
 extern struct srd_session *srd_sess;
 
 static int opts_to_gvar(struct srd_decoder *dec, GHashTable *hash,