X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=sigrok.h;h=2eda97ba590a129abec54042f32103e82f9b3620;hb=9688b443f65c7779a07b0e3ef2b9f9721ff742cd;hp=6eeca9a3c9ff1617ed707204398d9bcce2361338;hpb=4cea9eb20dc8d816a67c57d111a3a4529d452e4d;p=libsigrok.git diff --git a/sigrok.h b/sigrok.h index 6eeca9a3..2eda97ba 100644 --- a/sigrok.h +++ b/sigrok.h @@ -55,9 +55,8 @@ extern "C" { #define SR_ERR_MALLOC -2 /* Malloc/calloc/realloc error */ #define SR_ERR_SAMPLERATE -3 /* Incorrect samplerate */ -/* limited by uint64_t */ -#define MAX_NUM_PROBES 64 -#define MAX_PROBENAME_LEN 32 +#define SR_MAX_NUM_PROBES 64 /* Limited by uint64_t. */ +#define SR_MAX_PROBENAME_LEN 32 /* Handy little macros */ #define KHZ(n) ((n) * 1000)