• Maciej Lipinski's avatar
    [issue #10] Fixed encoding of temperature value read from sensors · 0d06c207
    Maciej Lipinski authored
    The value of temperature that is read from register of the T100
    sensor is encoded with twos complement on 16 bits. The encoding
    was not proper thus it worked fine but only for positive values
    of temperature. Added function that properly interprets the
    value of temp read from sensor's regsister.
fan.c 9.1 KB