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

*** empty log message ***

git-svn-id: https://svn.fhem.de/fhem/trunk@837 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2011-02-12 19:56:44 +00:00
parent 72046f7c6c
commit 9622cc4026

View File

@ -257,14 +257,11 @@ ECMD_DoInit($)
my $msg = undef;
ECMD_Clear($hash);
ECMD_SimpleWrite($hash, "version");
my ($err,$version)= ECMD_ReadAnswer($hash, "version");
return "$name: $err" if($err);
Log 2, "ECMD version: $version";
$hash->{VERSION} = $version;
#ECMD_SimpleWrite($hash, $hash->{initString});
#ECMD_SimpleWrite($hash, "version");
#my ($err,$version)= ECMD_ReadAnswer($hash, "version");
#return "$name: $err" if($err);
#Log 2, "ECMD version: $version";
#$hash->{VERSION} = $version;
$hash->{STATE} = "Initialized" if(!$hash->{STATE});