mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
add ttyUSB0 to known devices to scan for
This commit is contained in:
@@ -59,7 +59,8 @@ pt_find_device(char *result[], int capacity)
|
||||
DIR *dirp;
|
||||
struct dirent *dp;
|
||||
int count = 0;
|
||||
if (regcomp(®, "^cu\\.(usbserial-[0-9A-F]+|KeySerial[0-9])$",
|
||||
if (regcomp(®,
|
||||
"^(cu\\.(usbserial-[0-9A-F]+|KeySerial[0-9])|ttyUSB[0-9])$",
|
||||
REG_EXTENDED|REG_NOSUB)) {
|
||||
assert(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user