2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-23 02:31:53 +00:00

CUL_HM: remove space in readings

git-svn-id: https://svn.fhem.de/fhem/trunk@7333 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-12-27 11:32:52 +00:00
parent c00fcd5791
commit 00309775eb

View File

@ -6011,7 +6011,7 @@ sub CUL_HM_getRegFromStore($$$$@) {#read a register from backup data
$size = int($size)*8 + ($size*10)%10;
$conv = $reg->{c}; #unconvert formula
$factor = $reg->{f};
$unit = " ".$reg->{u};
$unit = ($reg->{u}?" ".$reg->{u}:"");
}
else{
return "invalid:regname or address"
@ -6075,7 +6075,7 @@ sub CUL_HM_getRegFromStore($$$$@) {#read a register from backup data
if ($conv ne "lit" && $reg->{litInv} && $reg->{litInv}{$data} ){
$data = $reg->{litInv}{$data};#conv special value past to calculation
$unit = "";
}
}
return $convFlg.$data.$unit;
}
sub CUL_HM_updtRegDisp($$$) {