2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

Recommit of detect.pl; this time it should be right!

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@241 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard
1999-02-17 23:26:04 +00:00
parent 30cac4b4fb
commit 0e5d97b61a
2 changed files with 6 additions and 6 deletions

View File

@@ -391,6 +391,6 @@ intialize_proc_pci;
adapter_pci_detection;
# TEST!
open FILE, "+>/dev/i2c-0" or die "Can't open /dev/i2c-0!";
i2c_set_slave_addr \*FILE, 0x49 or die "Couldn't set slave addr!";
print (i2c_read_word_data \*FILE, 0), "\n";
#open FILE, "+>/dev/i2c-0" or die "Can't open /dev/i2c-0!";
#i2c_set_slave_addr \*FILE, 0x49 or die "Couldn't set slave addr!";
#print (i2c_read_word_data \*FILE, 0), "\n";