mirror of https://github.com/wb2osz/direwolf.git
Allow longer Windows PTT HID name.
This commit is contained in:
parent
cae46801c4
commit
c05669a82b
|
@ -260,8 +260,9 @@ static void substr_se (char *dest, const char *src, int start, int endp1)
|
||||||
// Maximum length of name for PTT HID.
|
// Maximum length of name for PTT HID.
|
||||||
// For Linux, this was originally 17 to handle names like /dev/hidraw3.
|
// For Linux, this was originally 17 to handle names like /dev/hidraw3.
|
||||||
// Windows has more complicated names. The longest I saw was 95 but longer have been reported.
|
// Windows has more complicated names. The longest I saw was 95 but longer have been reported.
|
||||||
|
// Then we have this https://groups.io/g/direwolf/message/9622 where 127 is not enough.
|
||||||
|
|
||||||
#define MAXX_HIDRAW_NAME_LEN 128
|
#define MAXX_HIDRAW_NAME_LEN 150
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Result of taking inventory of USB soundcards and USB HIDs.
|
* Result of taking inventory of USB soundcards and USB HIDs.
|
||||||
|
|
Loading…
Reference in New Issue