mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 11:26:03 +00:00
00_HMUARTLGW.pm: reorder dispatch and send
git-svn-id: https://svn.fhem.de/fhem/trunk@11814 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
28490817a6
commit
426a119735
@ -1205,9 +1205,6 @@ sub HMUARTLGW_Parse($$$$)
|
|||||||
"HMUARTLGW ${name} Ack: ${ack} ".(($2)?$2:""));
|
"HMUARTLGW ${name} Ack: ${ack} ".(($2)?$2:""));
|
||||||
$recv = $msg;
|
$recv = $msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
HMUARTLGW_UpdateQueuedPeer($hash);
|
|
||||||
HMUARTLGW_SendPendingCmd($hash);
|
|
||||||
} elsif ($msg =~ m/^(05.*)$/) {
|
} elsif ($msg =~ m/^(05.*)$/) {
|
||||||
$recv = $1;
|
$recv = $1;
|
||||||
}
|
}
|
||||||
@ -1277,6 +1274,11 @@ sub HMUARTLGW_Parse($$$$)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($hash->{DevState} == HMUARTLGW_STATE_RUNNING) {
|
||||||
|
HMUARTLGW_UpdateQueuedPeer($hash);
|
||||||
|
HMUARTLGW_SendPendingCmd($hash);
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user