center-3xx: Drop unneeded #define.
This commit is contained in:
parent
6685e9a6b3
commit
489c338884
|
@ -31,14 +31,11 @@
|
||||||
|
|
||||||
#define LOG_PREFIX "center-3xx"
|
#define LOG_PREFIX "center-3xx"
|
||||||
|
|
||||||
/* Note: When adding entries here, don't forget to update CENTER_DEV_COUNT. */
|
|
||||||
enum {
|
enum {
|
||||||
CENTER_309,
|
CENTER_309,
|
||||||
VOLTCRAFT_K204,
|
VOLTCRAFT_K204,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define CENTER_DEV_COUNT 2
|
|
||||||
|
|
||||||
struct center_dev_info {
|
struct center_dev_info {
|
||||||
char *vendor;
|
char *vendor;
|
||||||
char *device;
|
char *device;
|
||||||
|
@ -51,7 +48,7 @@ struct center_dev_info {
|
||||||
int (*receive_data)(int, int, void *);
|
int (*receive_data)(int, int, void *);
|
||||||
};
|
};
|
||||||
|
|
||||||
extern SR_PRIV const struct center_dev_info center_devs[CENTER_DEV_COUNT];
|
extern SR_PRIV const struct center_dev_info center_devs[];
|
||||||
|
|
||||||
#define SERIAL_BUFSIZE 256
|
#define SERIAL_BUFSIZE 256
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue