1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-12-18 22:08:05 +02:00

m1rc3/norruption/2/collda: corrected $n to be the number of standby failures

This commit is contained in:
Werner Almesberger 2011-10-13 11:06:11 -03:00
parent d6e1e8be0d
commit 86e86dca5a

View File

@ -5,9 +5,10 @@ while (<>) {
next;
}
next unless /Checking : (\S+)\s+CRC failed.* got (\S+)\)/;
if ($1 eq "standby.fpg") {
$n++;
$c{$n} = $c+1;
next if $1 eq "standby.fpg";
}
next if $last{$1} eq $2;
if (defined $h{$n}) {
$h{$n} .= ", ".$1;