mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 06:15:15 +00:00
Solved i2c_sub_addrs not being printed problem (I hope)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@285 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -946,7 +946,8 @@ sub scan_adapter
|
||||
i2c_driver => $adapter_driver,
|
||||
i2c_devnr => $adapter_nr,
|
||||
};
|
||||
$new_hash->{i2c_sub_addrs} = \@chips if (@chips);
|
||||
my @chips_copy = @chips, $new_hash->{i2c_sub_addrs} = \@chips_copy
|
||||
if (@chips);
|
||||
add_i2c_to_chips_detected $$chip{driver}, $new_hash;
|
||||
} else {
|
||||
print "Failed!\n";
|
||||
|
Reference in New Issue
Block a user