2
0
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:
Frodo Looijaard
1999-03-01 13:27:57 +00:00
parent da3af62988
commit a900525440
2 changed files with 4 additions and 2 deletions

View File

@@ -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";