2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-23 20:52:13 +00:00

00_TCM: routine TCM_InitSerialCom($) changed

git-svn-id: https://svn.fhem.de/fhem/trunk@12308 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
klaus-schauer 2016-10-10 05:24:16 +00:00
parent 23a50c088f
commit d97d323098

View File

@ -111,6 +111,7 @@ TCM_InitSerialCom($)
my $setCmdVal = "";
my @setCmd = ("set", "reset", $setCmdVal);
# read and discard receive buffer, modem reset
$hash->{PARTIAL} = '';
if ($hash->{MODEL} eq "ESP2") {
if ($comType eq "TCM") {
TCM_ReadAnswer($hash, "set reset");