lkml.org 
[lkml]   [2008]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] W1: w1_therm.c standardize units to millidegrees C
On Wed, Jan 23, 2008 at 08:03:30PM -0600, David Fries wrote:
> Here is the patch to standardize the temperature units to millidegrees
> C for the two sensor conversion routines. Previously the routines
> were,
>
> w1_DS18B20_convert_temp degrees C
> w1_DS18S20_convert_temp millidegrees C
>
> Unfortunately this will break any program using the ds18b20 value as
> it will now be 1000 times bigger. Fortunately there can't be that
> many users out there, or some of these bugs will have been fixed by
> now, such as the negative C error (see previous patch) that makes me
> think the ds18b20 is the better choice to change because of the
> current bugs.

Why isn't w1_therm presented as a hwmon device?

--
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-01-24 13:41    [W:0.061 / U:2.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site