genericdmm: use vid.pid as USB conn spec

: is just too hard for the CLI
This commit is contained in:
Bert Vermeulen 2012-07-08 04:01:04 +02:00
parent db1352007d
commit 7356a55db8
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
#define LIBSIGROK_GENERICDMM_H #define LIBSIGROK_GENERICDMM_H
/* SR_HWCAP_CONN takes one of these: */ /* SR_HWCAP_CONN takes one of these: */
#define DMM_CONN_USB_VIDPID "^([0--9a-z]{1,4}):([0--9a-z]{1,4})$" #define DMM_CONN_USB_VIDPID "^([0-9a-z]{1,4})\\.([0-9a-z]{1,4})$"
#define DMM_CONN_USB_BUSADDR "^(\\d+)\\.(\\d+)$" #define DMM_CONN_USB_BUSADDR "^(\\d+)\\.(\\d+)$"
#define DMM_CONN_SERIALPORT "^([a-z0-9/\\-_]+)$" #define DMM_CONN_SERIALPORT "^([a-z0-9/\\-_]+)$"