mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
00_TCM: routine TCM_InitSerialCom($) changed
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12308 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b6bdbb2934
commit
90f91a94eb
@ -111,6 +111,7 @@ TCM_InitSerialCom($)
|
|||||||
my $setCmdVal = "";
|
my $setCmdVal = "";
|
||||||
my @setCmd = ("set", "reset", $setCmdVal);
|
my @setCmd = ("set", "reset", $setCmdVal);
|
||||||
# read and discard receive buffer, modem reset
|
# read and discard receive buffer, modem reset
|
||||||
|
$hash->{PARTIAL} = '';
|
||||||
if ($hash->{MODEL} eq "ESP2") {
|
if ($hash->{MODEL} eq "ESP2") {
|
||||||
if ($comType eq "TCM") {
|
if ($comType eq "TCM") {
|
||||||
TCM_ReadAnswer($hash, "set reset");
|
TCM_ReadAnswer($hash, "set reset");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user