X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=sigrok.h;h=9109201d51df6e04079c0db4bda484b449345ee0;hb=cd009d55619181e2fa7e7112f32fe85e4b49cf14;hp=946c5470217387cf1bcc864e0b447d248dfc74f8;hpb=59df0c77e2906323290544ea62801831818ec096;p=libsigrok.git diff --git a/sigrok.h b/sigrok.h index 946c5470..9109201d 100644 --- a/sigrok.h +++ b/sigrok.h @@ -59,6 +59,7 @@ extern "C" { #define SR_MAX_PROBENAME_LEN 32 /* Handy little macros */ +#define SR_HZ(n) (n) #define SR_KHZ(n) ((n) * 1000) #define SR_MHZ(n) ((n) * 1000000) #define SR_GHZ(n) ((n) * 1000000000) @@ -163,9 +164,6 @@ struct sr_analyzer { */ }; -/* Size of a chunk in units */ -#define DATASTORE_CHUNKSIZE 512000 - struct sr_datastore { /* Size in bytes of the number of units stored in this datastore */ int ds_unitsize;