You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file audio.h the field ptt_device is reserved with 100 char's. The comment already mentions it:
/* For years, 20 characters was plenty then we start getting extreme names like this: */
/* /dev/serial/by-id/usb-FTDI_Navigator__CAT___2nd_PTT__00000000-if00-port0 */
This is 102 chars. Not sure what the best solution would be. One option is to include limits.h and use PATH_MAX. I am afraid this will rise portability issues. I guess the best option would be dynamic allocation (with the burden of freeing it later). I would ask if someone can make it 200 chars (or 256) at least.
The text was updated successfully, but these errors were encountered:
In file audio.h the field ptt_device is reserved with 100 char's. The comment already mentions it:
My dev name is:
This is 102 chars. Not sure what the best solution would be. One option is to include limits.h and use PATH_MAX. I am afraid this will rise portability issues. I guess the best option would be dynamic allocation (with the burden of freeing it later). I would ask if someone can make it 200 chars (or 256) at least.
The text was updated successfully, but these errors were encountered: