2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

FRM: be a bit more verbose in i2c_observers log message

git-svn-id: https://svn.fhem.de/fhem/trunk@5351 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess 2014-03-28 16:37:48 +00:00
parent 4b02715a44
commit 42a6dd1a88

View File

@ -682,7 +682,7 @@ sub
FRM_i2c_observer
{
my ($data,$hash) = @_;
Log3 $hash->{NAME},5,"onI2CMessage address: '".$data->{address}."', register: '".$data->{register}."' data: '".$data->{data}."'";
Log3 $hash->{NAME},5,"onI2CMessage address: '".$data->{address}."', register: '".$data->{register}."' data: [".(join(',',@{$data->{data}}))."]";
FRM_forall_clients($hash,\&FRM_i2c_update_device,$data);
}