X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fchronovu-la8%2Fprotocol.h;h=a7de26d18e6be64bbdcad3bec5a1592571c4990f;hb=b95dd7619d2add244c3173cad4c5ac53849171bc;hp=771760ade609c8a7e2c2a556965c90401a3e1545;hpb=1bec72d2ac388bd78c1c4e573431170c4ed97f8c;p=libsigrok.git diff --git a/hardware/chronovu-la8/protocol.h b/hardware/chronovu-la8/protocol.h index 771760ad..a7de26d1 100644 --- a/hardware/chronovu-la8/protocol.h +++ b/hardware/chronovu-la8/protocol.h @@ -1,5 +1,5 @@ /* - * This file is part of the sigrok project. + * This file is part of the libsigrok project. * * Copyright (C) 2011-2012 Uwe Hermann * @@ -27,14 +27,7 @@ #include "libsigrok.h" #include "libsigrok-internal.h" -/* Message logging helpers with driver-specific prefix string. */ -#define DRIVER_LOG_DOMAIN "la8: " -#define sr_log(l, s, args...) sr_log(l, DRIVER_LOG_DOMAIN s, ## args) -#define sr_spew(s, args...) sr_spew(DRIVER_LOG_DOMAIN s, ## args) -#define sr_dbg(s, args...) sr_dbg(DRIVER_LOG_DOMAIN s, ## args) -#define sr_info(s, args...) sr_info(DRIVER_LOG_DOMAIN s, ## args) -#define sr_warn(s, args...) sr_warn(DRIVER_LOG_DOMAIN s, ## args) -#define sr_err(s, args...) sr_err(DRIVER_LOG_DOMAIN s, ## args) +#define LOG_PREFIX "chronovu-la8" #define USB_VENDOR_ID 0x0403 #define USB_DESCRIPTION "ChronoVu LA8"