Commit 1e3db016 authored by Roman Ondráček's avatar Roman Ondráček

IQRF net: skip devices with invalid address in device map

Signed-off-by: Roman Ondráček's avatarRoman Ondráček <ondracek.roman@centrum.cz>
parent 9f63870d
Pipeline #2348 canceled with stages
......@@ -118,6 +118,9 @@ class DevicesManager {
$devices = [];
}
foreach ($devices as $node) {
if ($node > 239) {
break;
}
$i = intdiv($node, $base);
$j = $node % $base;
$this->table[$i][$j]->setType($deviceType);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment