summaryrefslogtreecommitdiff
path: root/scripts/vsp-lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vsp-lib.sh')
-rwxr-xr-xscripts/vsp-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh
index 726ff79..fa4a698 100755
--- a/scripts/vsp-lib.sh
+++ b/scripts/vsp-lib.sh
@@ -54,7 +54,7 @@ vsp1_count_wpfs() {
}
vsp1_count_bru_inputs() {
- local num_pads=`media-ctl -p | grep 'entity.*bru' | sed 's/.*(\([0-9]\) pads.*/\1/'`
+ local num_pads=`$mediactl -d $mdev -p | grep 'entity.*bru' | sed 's/.*(\([0-9]\) pads.*/\1/'`
echo $((num_pads-1))
}