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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user