Format-Fix
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1803 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -428,7 +428,7 @@ EnOcean_Parse($$)
|
|||||||
####################################
|
####################################
|
||||||
# $db_1 is the temperature where 0x00 = 40<34>C and 0xFF 0<>C
|
# $db_1 is the temperature where 0x00 = 40<34>C and 0xFF 0<>C
|
||||||
my $temp = sprintf "%3d", $db_1;
|
my $temp = sprintf "%3d", $db_1;
|
||||||
$temp = sprintf "%f.1", ( 40 - $temp * 40 / 255 ) ;
|
$temp = sprintf "%0.1f", ( 40 - $temp * 40 / 255 ) ;
|
||||||
push @event, "3:temperature:$temp";
|
push @event, "3:temperature:$temp";
|
||||||
push @event, "3:state:$temp";
|
push @event, "3:state:$temp";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user