2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

74_XiaomiBTLESens: change CometBlueBTLE_CmdlinePreventGrepFalsePositive Fn name

git-svn-id: https://svn.fhem.de/fhem/trunk@20455 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2019-11-04 14:16:52 +00:00
parent 00641768f8
commit c068ce9cd9

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