change CometBlueBTLE_CmdlinePreventGrepFalsePositive Fn name

This commit is contained in:
Marko Oldenburg 2019-11-04 15:15:26 +01:00
parent 7f877d494d
commit 140ca8b09e

View File

@ -670,7 +670,7 @@ sub ExecGatttool_Run($) {
my $grepGatttool;
my $gatttoolCmdlineStaticEscaped =
CometBlueBTLE_CmdlinePreventGrepFalsePositive(
BTLE_CmdlinePreventGrepFalsePositive(
"gatttool -i $hci -b $mac");
$grepGatttool = qx(ps ax| grep -E \'$gatttoolCmdlineStaticEscaped\')
@ -1334,7 +1334,7 @@ sub CreateDevicenameHEX($) {
return $devicenameHex;
}
sub CometBlueBTLE_CmdlinePreventGrepFalsePositive($) {
sub BTLE_CmdlinePreventGrepFalsePositive($) {
# https://stackoverflow.com/questions/9375711/more-elegant-ps-aux-grep-v-grep
# Given abysmal (since external-command-based) performance in the first place, we'd better