mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
MAXLAN: convert freememoryslots from hex to dec
git-svn-id: https://svn.fhem.de/fhem/trunk@4297 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6b967902ef
commit
2fddd9b2f7
@ -691,7 +691,7 @@ MAXLAN_Parse($$)
|
||||
readingsSingleUpdate( $hash, 'dutycycle', $hash->{dutycycle}, 1 );
|
||||
|
||||
my $discarded = $args[1];
|
||||
$hash->{freememoryslot} = $args[2];
|
||||
$hash->{freememoryslot} = hex($args[2]);
|
||||
Log 5, "MAXLAN_Parse: dutycyle $hash->{dutycycle}, freememoryslot $hash->{freememoryslot}";
|
||||
|
||||
Log 3, "MAXLAN_Parse: 1% rule: we sent too much, cmd is now in queue" if($hash->{dutycycle} == 100 && $hash->{freememoryslot} > 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user