drivers: Consistently make LOG_PREFIX the first item after #includes.
This commit is contained in:
parent
b15ff1c92a
commit
f272d7ddc0
|
@ -30,6 +30,8 @@
|
|||
#include <libsigrok/libsigrok.h>
|
||||
#include "libsigrok-internal.h"
|
||||
|
||||
#define LOG_PREFIX "asix-sigma"
|
||||
|
||||
/*
|
||||
* Triggers are not working in this implementation. Stop claiming
|
||||
* support for the feature which effectively is not available, until
|
||||
|
@ -38,8 +40,6 @@
|
|||
*/
|
||||
#define ASIX_SIGMA_WITH_TRIGGER 0
|
||||
|
||||
#define LOG_PREFIX "asix-sigma"
|
||||
|
||||
#define USB_VENDOR 0xa600
|
||||
#define USB_PRODUCT 0xa000
|
||||
#define USB_DESCRIPTION "ASIX SIGMA"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "libsigrok-internal.h"
|
||||
|
||||
#define LOG_PREFIX "hung-chang-dso-2100"
|
||||
|
||||
#define MAX_RETRIES 4
|
||||
#define NUM_CHANNELS 2
|
||||
|
||||
|
|
|
@ -26,11 +26,11 @@
|
|||
#include <libsigrok/libsigrok.h>
|
||||
#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. */
|
||||
|
|
|
@ -20,14 +20,14 @@
|
|||
#ifndef LIBSIGROK_HARDWARE_SYSCLK_LWLA_PROTOCOL_H
|
||||
#define LIBSIGROK_HARDWARE_SYSCLK_LWLA_PROTOCOL_H
|
||||
|
||||
#define LOG_PREFIX "sysclk-lwla"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <libusb.h>
|
||||
#include <glib.h>
|
||||
#include <libsigrok/libsigrok.h>
|
||||
#include <libsigrok-internal.h>
|
||||
|
||||
#define LOG_PREFIX "sysclk-lwla"
|
||||
|
||||
/* Maximum configurable sample count limit.
|
||||
* Due to compression, there is no meaningful hardware limit the driver
|
||||
* could report. So this value is less than 2^64-1 for no reason other
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "protocol_wrappers.h"
|
||||
|
||||
#define LOG_PREFIX "yokogawa-dlm"
|
||||
|
||||
#define MAX_INSTRUMENT_VERSIONS 8
|
||||
|
||||
#define RECEIVE_BUFFER_SIZE 4096
|
||||
|
|
Loading…
Reference in New Issue