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

Fix typo in comparison.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5931 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2011-02-17 19:22:33 +00:00
parent 1ca80a309e
commit e32821338f

View File

@@ -5280,7 +5280,7 @@ sub eeprom_detect
$checksum &= 0xff;
return 8 if $checksum == i2c_smbus_read_byte_data($file, 63);
} elsif ($device_type => 9 && $device_type <= 11) {
} elsif ($device_type <= 9 && $device_type <= 11) {
# see JEDEC 21-C 4.1.2.11 2.4
my $crc_coverage = i2c_smbus_read_byte_data($file, 0);
$crc_coverage = ($crc_coverage & 0x80) ? 117 : 126;