4dis display text

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3159 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2013-05-07 17:30:11 +00:00
parent 612586b9c9
commit a428c9e2d5

View File

@@ -3450,7 +3450,7 @@ sub CUL_HM_4DisText($) {# convert text for 4dis
my ($hash)=@_;
my $name = $hash->{NAME};
my $regLN = ((CUL_HM_getAttrInt($name,"expert") == 2)?"":".")."RegL_";
my $reg1 = ReadingsVal($name,$regLN."05:" ,"");
my $reg1 = ReadingsVal($name,$regLN."01:" ,"");
my %txt;
foreach my $sAddr (54,70){
my $txtHex = $reg1; #one row