Fix conditional check for DISABLE_PERIPHERAL_API
This commit is contained in:
1 parent
3077e7230b
commit
acda765964
1 file changed
+1
-1
@@ -128,7 +128,7 @@ if [ -n "${PERIPHERAL_VOLUME_STEP}" ]; then
|
||||
EXTRA_ARGS+=( "--peripheral-volume-step" "$PERIPHERAL_VOLUME_STEP" )
|
||||
fi
|
||||
|
||||
if [ -n "${DISABLE_PERIPHERAL_API}" ]; then
|
||||
if [ -n "$DISABLE_PERIPHERAL_API" = "1" ]; then
|
||||
EXTRA_ARGS+=( "--disable-peripheral-api" "$DISABLE_PERIPHERAL_API" )
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user