X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fhameg-hmo%2Fprotocol.h;h=ffc841283d24f152bd5ed83d2c03788a1f3f4933;hb=3544f848e0d7f67af8e11ce7ec344b34cd797df3;hp=370bc0088f5573dc60bc7769c1f5810e71c04236;hpb=dafafb0e9429fcc9185df1c861184ce79defb7ee;p=libsigrok.git diff --git a/hardware/hameg-hmo/protocol.h b/hardware/hameg-hmo/protocol.h index 370bc008..ffc84128 100644 --- a/hardware/hameg-hmo/protocol.h +++ b/hardware/hameg-hmo/protocol.h @@ -26,14 +26,7 @@ #include "libsigrok.h" #include "libsigrok-internal.h" -/* Message logging helpers with subsystem-specific prefix string. */ -#define LOG_PREFIX "hameg-hmo: " -#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 "hameg-hmo" #define MAX_INSTRUMENT_VERSIONS 10 #define MAX_COMMAND_SIZE 31