• petur's avatar
    fix for ds18b20 negative decimals · a1e02fc6
    petur authored
    ds18b20 decimals do not take into account the sign bit. Since the original calculation was not so readable, rewritten in readable way that also fixes the bug. Same code as PR against master.
    a1e02fc6
ds18b20.c 9.25 KB