From 4cb6fd85220e525a20095a15682e855c3af1515e Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sun, 27 Nov 2016 00:10:49 +0100 Subject: [PATCH] fix to many Arguments --- 74_XiaomiFlowerSens.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/74_XiaomiFlowerSens.pm b/74_XiaomiFlowerSens.pm index 784207c..dca1ed9 100644 --- a/74_XiaomiFlowerSens.pm +++ b/74_XiaomiFlowerSens.pm @@ -251,7 +251,7 @@ sub XiaomiFlowerSens_Run($) { return "$name|$response_encode"; } -sub XiaomiFlowerSens_gattCharRead($$) { +sub XiaomiFlowerSens_gattCharRead($$$) { my ($name,$mac,$wfr) = @_; my $hci = ReadingsVal($name,"hciDevice","hci0"); @@ -284,7 +284,7 @@ sub XiaomiFlowerSens_gattCharRead($$) { return ($temp,$lux,$moisture,$fertility); } -sub XiaomiFlowerSens_readBatFW($) { +sub XiaomiFlowerSens_readBatFW($$) { my ($name,$mac) = @_; my $hci = ReadingsVal($name,"hciDevice","hci0");