fix to many Arguments

This commit is contained in:
Marko Oldenburg 2016-11-27 00:10:49 +01:00
parent 23fbb3faa6
commit 4cb6fd8522

View File

@ -251,7 +251,7 @@ sub XiaomiFlowerSens_Run($) {
return "$name|$response_encode"; return "$name|$response_encode";
} }
sub XiaomiFlowerSens_gattCharRead($$) { sub XiaomiFlowerSens_gattCharRead($$$) {
my ($name,$mac,$wfr) = @_; my ($name,$mac,$wfr) = @_;
my $hci = ReadingsVal($name,"hciDevice","hci0"); my $hci = ReadingsVal($name,"hciDevice","hci0");
@ -284,7 +284,7 @@ sub XiaomiFlowerSens_gattCharRead($$) {
return ($temp,$lux,$moisture,$fertility); return ($temp,$lux,$moisture,$fertility);
} }
sub XiaomiFlowerSens_readBatFW($) { sub XiaomiFlowerSens_readBatFW($$) {
my ($name,$mac) = @_; my ($name,$mac) = @_;
my $hci = ReadingsVal($name,"hciDevice","hci0"); my $hci = ReadingsVal($name,"hciDevice","hci0");