tejado/android-usb-gadget

Function Name

maayte opened this issue · 1 comments

Existing functions are linked as function0, function1, ...
When a new function is added with the gadget it does not follow the same naming structure

redfin:/config/usb_gadget/g1/configs/b.1 # ls -al

drwxr-xr-x 3 system system 0 2021-02-27 00:15 ..
-rw-r--r-- 1 system system 4096 2021-02-27 00:15 MaxPower
-rw-r--r-- 1 system system 4096 2021-02-27 00:15 bmAttributes
lrwxrwxrwx 1 root root 0 2021-03-02 09:49 diag.diag -> ../../../../usb_gadget/g1/functions/diag.diag
lrwxrwxrwx 1 root root 0 2021-02-27 00:15 function0 -> ../../../../usb_gadget/g1/functions/ffs.adb
drwxr-xr-x 2 system system 0 2021-02-27 00:15 strings

Thank you @maayte for your first issue on GitHub :-)
Is this causing any issues? The functions have the same name as the function folder. As far as I could see, this was never an issue.