serial-dmm: Drop unused DMM_COUNT.
This commit is contained in:
parent
ec5186f936
commit
311622f69e
|
@ -22,7 +22,6 @@
|
||||||
|
|
||||||
#define LOG_PREFIX "serial-dmm"
|
#define LOG_PREFIX "serial-dmm"
|
||||||
|
|
||||||
/* Note: When adding entries here, don't forget to update DMM_COUNT. */
|
|
||||||
enum {
|
enum {
|
||||||
BBCGM_M2110,
|
BBCGM_M2110,
|
||||||
DIGITEK_DT4000ZC,
|
DIGITEK_DT4000ZC,
|
||||||
|
@ -57,8 +56,6 @@ enum {
|
||||||
TENMA_72_7750_SER,
|
TENMA_72_7750_SER,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define DMM_COUNT 31
|
|
||||||
|
|
||||||
struct dmm_info {
|
struct dmm_info {
|
||||||
/** Manufacturer/brand. */
|
/** Manufacturer/brand. */
|
||||||
char *vendor;
|
char *vendor;
|
||||||
|
@ -85,7 +82,7 @@ struct dmm_info {
|
||||||
int (*receive_data)(int, int, void *);
|
int (*receive_data)(int, int, void *);
|
||||||
};
|
};
|
||||||
|
|
||||||
extern SR_PRIV struct dmm_info dmms[DMM_COUNT];
|
extern SR_PRIV struct dmm_info dmms[];
|
||||||
|
|
||||||
#define DMM_BUFSIZE 256
|
#define DMM_BUFSIZE 256
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue