X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fmotech-lps-30x%2Fprotocol.h;h=53aa0325b2dfd9e04e6ae335032f2fad9364937e;hb=HEAD;hp=99e453eba15ff76f3c3466b0cb81c51f1a9140b2;hpb=ca314e060f653e6a0b5ec0f58914bac4d426217f;p=libsigrok.git diff --git a/src/hardware/motech-lps-30x/protocol.h b/src/hardware/motech-lps-30x/protocol.h index 99e453eb..53aa0325 100644 --- a/src/hardware/motech-lps-30x/protocol.h +++ b/src/hardware/motech-lps-30x/protocol.h @@ -26,11 +26,11 @@ #include #include "libsigrok-internal.h" +#define LOG_PREFIX "motech-lps-30x" + SR_PRIV int lps_process_status(struct sr_dev_inst *sdi, int stat); SR_PRIV int lps_send_req(struct sr_serial_dev_inst *serial, const char *fmt, ...); -#define LOG_PREFIX "motech-lps-30x" - #define LINELEN_MAX 50 /**< Max. line length for requests */ #define REQ_TIMEOUT_MS 250 /**< Timeout [ms] for single request. */