X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=input%2Fbinary.c;h=dfeedee7433473ab0be857e83b3dbe3e9382fcc1;hb=3544f848e0d7f67af8e11ce7ec344b34cd797df3;hp=70bad29cd7b020e1f40338eb8e318ab7cd38015e;hpb=dafafb0e9429fcc9185df1c861184ce79defb7ee;p=libsigrok.git diff --git a/input/binary.c b/input/binary.c index 70bad29c..dfeedee7 100644 --- a/input/binary.c +++ b/input/binary.c @@ -26,14 +26,7 @@ #include "libsigrok.h" #include "libsigrok-internal.h" -/* Message logging helpers with subsystem-specific prefix string. */ -#define LOG_PREFIX "input/binary: " -#define sr_log(l, s, args...) sr_log(l, LOG_PREFIX s, ## args) -#define sr_spew(s, args...) sr_spew(LOG_PREFIX s, ## args) -#define sr_dbg(s, args...) sr_dbg(LOG_PREFIX s, ## args) -#define sr_info(s, args...) sr_info(LOG_PREFIX s, ## args) -#define sr_warn(s, args...) sr_warn(LOG_PREFIX s, ## args) -#define sr_err(s, args...) sr_err(LOG_PREFIX s, ## args) +#define LOG_PREFIX "input/binary" #define CHUNKSIZE (512 * 1024) #define DEFAULT_NUM_PROBES 8