serial-dmm: Avoid duplicate symbol error
Declare dmm_info dmms as extern in protocol.h to prevent duplicate symbol error from the linker. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
378abfeac6
commit
5b389efcfe
|
@ -59,7 +59,7 @@ struct dmm_info {
|
|||
void (*dmm_details)(struct sr_datafeed_analog *, void *);
|
||||
};
|
||||
|
||||
SR_PRIV struct dmm_info dmms[DMM_COUNT];
|
||||
extern SR_PRIV struct dmm_info dmms[DMM_COUNT];
|
||||
|
||||
#define DMM_BUFSIZE 256
|
||||
|
||||
|
|
Loading…
Reference in New Issue