fluke-dmm: build fixes
This commit is contained in:
parent
4f958423d1
commit
e7edd64f45
|
@ -29,8 +29,8 @@
|
|||
#include <errno.h>
|
||||
|
||||
|
||||
SR_PRIV struct sr_dev_driver driver_info;
|
||||
static struct sr_dev_driver *di = &driver_info;
|
||||
SR_PRIV struct sr_dev_driver flukedmm_driver_info;
|
||||
static struct sr_dev_driver *di = &flukedmm_driver_info;
|
||||
|
||||
static const struct flukedmm_profile supported_flukedmm[] = {
|
||||
{ FLUKE_187, "187" },
|
||||
|
@ -307,7 +307,7 @@ static int hw_dev_acquisition_stop(const struct sr_dev_inst *sdi,
|
|||
return SR_OK;
|
||||
}
|
||||
|
||||
SR_PRIV struct sr_dev_driver driver_info = {
|
||||
SR_PRIV struct sr_dev_driver flukedmm_driver_info = {
|
||||
.name = "fluke-dmm",
|
||||
.longname = "Fluke 18x/28x series DMMs",
|
||||
.api_version = 1,
|
||||
|
|
|
@ -86,6 +86,9 @@ extern SR_PRIV struct sr_dev_driver genericdmm_driver_info;
|
|||
#ifdef HAVE_HW_AGILENT_DMM
|
||||
extern SR_PRIV struct sr_dev_driver agdmm_driver_info;
|
||||
#endif
|
||||
#ifdef HAVE_HW_FLUKE_DMM
|
||||
extern SR_PRIV struct sr_dev_driver flukedmm_driver_info;
|
||||
#endif
|
||||
|
||||
static struct sr_dev_driver *drivers_list[] = {
|
||||
#ifdef HAVE_LA_DEMO
|
||||
|
@ -120,6 +123,9 @@ static struct sr_dev_driver *drivers_list[] = {
|
|||
#endif
|
||||
#ifdef HAVE_HW_AGILENT_DMM
|
||||
&agdmm_driver_info,
|
||||
#endif
|
||||
#ifdef HAVE_HW_FLUKE_DMM
|
||||
&flukedmm_driver_info,
|
||||
#endif
|
||||
NULL,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue