# HG changeset patch # User Matt Johnston # Date 1349871143 -28800 # Node ID a60a015732eaee5c174359a246f4321e5196c50a # Parent 1603d0310dd0ff02bee507b3b7435d57ba2f0de9 Ignore 85ยบ setting too diff -r 1603d0310dd0 -r a60a015732ea simple_ds18b20.c --- a/simple_ds18b20.c Sat Oct 06 23:58:37 2012 +0800 +++ b/simple_ds18b20.c Wed Oct 10 20:12:23 2012 +0800 @@ -80,7 +80,7 @@ decicelsius = -decicelsius; } - if ( /* decicelsius == 850 || */ decicelsius < -550 || decicelsius > 1250 ) { + if ( decicelsius == 850 || decicelsius < -550 || decicelsius > 1250 ) { return DS18X20_INVALID_DECICELSIUS; } else { return decicelsius;