Mercurial > templog
changeset 419:a60a015732ea
Ignore 85ยบ setting too
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 10 Oct 2012 20:12:23 +0800 |
parents | 1603d0310dd0 |
children | d386bbab85cf |
files | simple_ds18b20.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;