| 1083 | | for ($i = 0x00; $i <= 0xff; $i += 4) { |
| 1084 | | return if i2c_smbus_read_byte_data($file,$i + 0x01) != $conf; |
| 1085 | | return if i2c_smbus_read_word_data($file,$i + 0x02) != $hyst; |
| 1086 | | return if i2c_smbus_read_word_data($file,$i + 0x03) != $os; |
| | 1083 | for ($i = 0x00; $i <= 0xF; $i += 1) { |
| | 1084 | return if i2c_smbus_read_byte_data($file,($i * 0x10) + 0x01) != $conf; |
| | 1085 | return if i2c_smbus_read_word_data($file,($i * 0x10) + 0x02) != $hyst; |
| | 1086 | return if i2c_smbus_read_word_data($file,($i * 0x10) + 0x03) != $os; |