sr: Moved GTV_TO_MSEC to sigrok-internal.h
This commit is contained in:
parent
b1eeb67e92
commit
7f6a3b43ad
|
@ -25,7 +25,6 @@
|
|||
#define NUM_TRIGGER_STAGES 4
|
||||
#define TRIGGER_TYPES "01"
|
||||
#define FIRMWARE FIRMWARE_DIR "/saleae-logic.fw"
|
||||
#define GTV_TO_MSEC(gtv) (gtv.tv_sec * 1000 + gtv.tv_usec / 1000)
|
||||
|
||||
/* delay in ms */
|
||||
#define MAX_RENUM_DELAY 3000
|
||||
|
|
|
@ -53,6 +53,8 @@ struct sr_serial_dev_inst {
|
|||
int fd;
|
||||
};
|
||||
|
||||
#define GTV_TO_MSEC(gtv) (gtv.tv_sec * 1000 + gtv.tv_usec / 1000)
|
||||
|
||||
#ifdef HAVE_LIBUSB_1_0
|
||||
/* USB-specific instances */
|
||||
SR_PRIV struct sr_usb_dev_inst *sr_usb_dev_inst_new(uint8_t bus,
|
||||
|
|
Loading…
Reference in New Issue