We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 213e201 commit 4ae55e1Copy full SHA for 4ae55e1
recipes-devtools/android-tools/android-tools/arduino-android-gadget-setup
@@ -38,7 +38,7 @@ start()
38
# populate config, optional
39
mkdir configs/c.1/strings/0x409
40
CFG_STRING="adb+acm"
41
- if [[ $ENABLED_SCHEMAS="*ncm*" ]]; then
+ if [[ $ENABLED_SCHEMAS =~ "ncm" ]]; then
42
CFG_STRING="adb+acm+ncm"
43
fi
44
echo $CFG_STRING > configs/c.1/strings/0x409/configuration
@@ -50,7 +50,7 @@ start()
50
# create the acm (serial) function
51
mkdir functions/acm.GS0
52
53
54
# create the ncm function
55
mkdir functions/ncm.usb0
56
0 commit comments