Fix conditional check for DISABLE_PERIPHERAL_API

This commit is contained in:
Omar Amin authored and GitHub committed 2026-07-27 13:37:22 +03:00
1 parent 3077e7230b
commit acda765964
1 file changed
+1 -1
+1 -1
View File
@@ -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