mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +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:
parent
00641768f8
commit
c068ce9cd9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user