mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-28 20:58:22 +00:00
Minor fixes to the previous commit.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5501 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
dc22cce727
commit
761caf78c2
1 file changed
+1
-2
@@ -2703,7 +2703,6 @@ sub probe_free_i2c_address
|
|||||||
}
|
}
|
||||||
|
|
||||||
# $_[0]: The number of the adapter to scan
|
# $_[0]: The number of the adapter to scan
|
||||||
# $_[1]: Addresses not to scan (array reference)
|
|
||||||
sub scan_i2c_adapter
|
sub scan_i2c_adapter
|
||||||
{
|
{
|
||||||
my ($adapter_nr) = @_;
|
my ($adapter_nr) = @_;
|
||||||
@@ -2723,7 +2722,6 @@ sub scan_i2c_adapter
|
|||||||
chomp($input);
|
chomp($input);
|
||||||
@not_to_scan = parse_not_to_scan(0x03, 0x77, $input);
|
@not_to_scan = parse_not_to_scan(0x03, 0x77, $input);
|
||||||
}
|
}
|
||||||
print "\n";
|
|
||||||
|
|
||||||
open(local *FILE, "$dev_i2c$adapter_nr") or
|
open(local *FILE, "$dev_i2c$adapter_nr") or
|
||||||
(print "Can't open $dev_i2c$adapter_nr\n"), return;
|
(print "Can't open $dev_i2c$adapter_nr\n"), return;
|
||||||
@@ -2774,6 +2772,7 @@ sub scan_i2c_adapter
|
|||||||
}
|
}
|
||||||
$| = 0;
|
$| = 0;
|
||||||
}
|
}
|
||||||
|
print "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
sub scan_isa_bus
|
sub scan_isa_bus
|
||||||
|
|||||||
Reference in new issue
Block a user