]> sigrok.org Git - libsigrok.git/blobdiff - sigrok.h
Make some more items 'static'.
[libsigrok.git] / sigrok.h
index 946c5470217387cf1bcc864e0b447d248dfc74f8..9109201d51df6e04079c0db4bda484b449345ee0 100644 (file)
--- 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;