From: Uwe Hermann Date: Fri, 27 Dec 2013 12:05:54 +0000 (+0100) Subject: log prefixes: Cosmetics, consistency fixes, typo fixes. X-Git-Tag: libsigrok-0.3.0~401 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b95dd7619d2add244c3173cad4c5ac53849171bc;p=libsigrok.git log prefixes: Cosmetics, consistency fixes, typo fixes. --- diff --git a/hardware/chronovu-la8/protocol.h b/hardware/chronovu-la8/protocol.h index cd71936c..a7de26d1 100644 --- a/hardware/chronovu-la8/protocol.h +++ b/hardware/chronovu-la8/protocol.h @@ -27,7 +27,7 @@ #include "libsigrok.h" #include "libsigrok-internal.h" -#define LOG_PREFIX "la8" +#define LOG_PREFIX "chronovu-la8" #define USB_VENDOR_ID 0x0403 #define USB_DESCRIPTION "ChronoVu LA8" diff --git a/hardware/common/dmm/m2110.c b/hardware/common/dmm/m2110.c index 8a84420f..5863cef1 100644 --- a/hardware/common/dmm/m2110.c +++ b/hardware/common/dmm/m2110.c @@ -31,6 +31,8 @@ #include "libsigrok.h" #include "libsigrok-internal.h" +#define LOG_PREFIX "m2110" + SR_PRIV gboolean sr_m2110_packet_valid(const uint8_t *buf) { float val; diff --git a/hardware/common/dmm/rs9lcd.c b/hardware/common/dmm/rs9lcd.c index 4f6b0680..3b7045f8 100644 --- a/hardware/common/dmm/rs9lcd.c +++ b/hardware/common/dmm/rs9lcd.c @@ -35,7 +35,7 @@ #include "libsigrok.h" #include "libsigrok-internal.h" -#define LOG_PREFIX "rs91lcd" +#define LOG_PREFIX "rs9lcd" /* Byte 1 of the packet, and the modes it represents */ #define IND1_HZ (1 << 7) diff --git a/hardware/ikalogic-scanaplus/protocol.h b/hardware/ikalogic-scanaplus/protocol.h index dd7660da..1df0517e 100644 --- a/hardware/ikalogic-scanaplus/protocol.h +++ b/hardware/ikalogic-scanaplus/protocol.h @@ -28,7 +28,7 @@ #include "libsigrok.h" #include "libsigrok-internal.h" -#define LOG_PREFIX "scanaplus" +#define LOG_PREFIX "ikalogic-scanaplus" #define COMPRESSED_BUF_SIZE (64 * 1024) diff --git a/hardware/link-mso19/protocol.h b/hardware/link-mso19/protocol.h index 85426723..ebf67c48 100644 --- a/hardware/link-mso19/protocol.h +++ b/hardware/link-mso19/protocol.h @@ -29,7 +29,7 @@ #include "libsigrok.h" #include "libsigrok-internal.h" -#define LOG_PREFIX "mso19" +#define LOG_PREFIX "link-mso19" #define USB_VENDOR "3195" #define USB_PRODUCT "f190" diff --git a/input/chronovu_la8.c b/input/chronovu_la8.c index 4c785427..9f129be4 100644 --- a/input/chronovu_la8.c +++ b/input/chronovu_la8.c @@ -25,7 +25,7 @@ #include "libsigrok.h" #include "libsigrok-internal.h" -#define LOG_PREFIX "input/chronovu-l8" +#define LOG_PREFIX "input/chronovu-la8" #define NUM_PACKETS 2048 #define PACKET_SIZE 4096