mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
MAX: Fix previous commit
git-svn-id: https://svn.fhem.de/fhem/trunk@7011 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9fe043aa09
commit
24ffe23582
@ -478,8 +478,7 @@ CUL_MAX_SendQueueHandler($$)
|
||||
|| $modules{MAX}{defptr}{$packet->{dst}}{wakeUpUntil} < gettimeofday()))) ? 1 : 0;
|
||||
|
||||
#Send to CUL
|
||||
#my ($credit10ms) = (CommandGet("","$hash->{IODev}{NAME} credit10ms") =~ /[^ ]* [^ ]* => (.*)/);
|
||||
my $credit10ms = 900;
|
||||
my ($credit10ms) = (CommandGet("","$hash->{IODev}{NAME} credit10ms") =~ /[^ ]* [^ ]* => (.*)/);
|
||||
if($credit10ms eq "No answer") {
|
||||
Log3 $hash, 1, "Error in CUL_MAX_SendQueueHandler: CUL $hash->{IODev}{NAME} did not answer request for current credits. Waiting 5 seconds.";
|
||||
$timeout += 5;
|
||||
|
Loading…
Reference in New Issue
Block a user