mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 17:36:39 +00:00
00_HMUARTLGW.pm: fix resend
git-svn-id: https://svn.fhem.de/fhem/trunk@12270 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7820cc438f
commit
daa773baf8
@ -1617,7 +1617,8 @@ sub HMUARTLGW_CheckCmdResp($)
|
||||
} else {
|
||||
$hash->{Helper}{Resend}++;
|
||||
Log3($hash, 1, "HMUARTLGW ${name} did not respond for the " . $hash->{Helper}{Resend} . ". time, resending");
|
||||
HMUARTLGW_send_frame($hash, $hash->{Helper}{LastSendFrame});
|
||||
HMUARTLGW_send_frame($hash, pack("H*", $hash->{Helper}{LastSendFrame}));
|
||||
InternalTimer(gettimeofday()+HMUARTLGW_CMD_TIMEOUT, "HMUARTLGW_CheckCmdResp", $hash, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user